Draft: poop

This commit is contained in:
2025-11-10 13:16:29 +08:00
parent dbd2ed6469
commit 590687d968
12 changed files with 309 additions and 43 deletions

View File

@@ -0,0 +1,8 @@
package game
type Handlers struct {
}
func NewHandlers() *Handlers {
return &Handlers{}
}

14
handlers/game/postMove.go Normal file
View File

@@ -0,0 +1,14 @@
package game
import (
"inp2025/tcp"
"inp2025/utils"
)
func (self *Handlers) PostMove(
w tcp.ResponseWriter,
req *tcp.Request,
) error {
// TODO
return utils.Success(w)
}

View File

@@ -0,0 +1,14 @@
package game
import (
"inp2025/tcp"
"inp2025/utils"
)
func (self *Handlers) PostReady(
w tcp.ResponseWriter,
req *tcp.Request,
) error {
// TODO
return utils.Success(w)
}

View File

@@ -0,0 +1,14 @@
package game
import (
"inp2025/tcp"
"inp2025/utils"
)
func (self *Handlers) SocketState(
w tcp.ResponseWriter,
req *tcp.Request,
) error {
// TODO
return utils.Success(w)
}