2022-10-22 18:01:55 +00:00
|
|
|
package server
|
|
|
|
|
|
|
|
import (
|
2022-11-19 10:41:10 +00:00
|
|
|
"net/http"
|
2022-10-22 18:01:55 +00:00
|
|
|
)
|
|
|
|
|
2023-04-18 20:12:05 +00:00
|
|
|
var AppPath = "/home/m/projects/programming/flutter_projects/mchess/build/web"
|
|
|
|
|
|
|
|
func PlayHandler(w http.ResponseWriter, r *http.Request) {
|
2022-12-18 00:41:44 +00:00
|
|
|
|
2022-10-22 18:01:55 +00:00
|
|
|
}
|
2022-12-18 00:05:23 +00:00
|
|
|
|
|
|
|
func WriteMessageToPlayer(player *Player, msg []byte, msgType int) error {
|
2023-04-22 17:23:46 +00:00
|
|
|
panic("Not implemented")
|
2022-12-18 00:05:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func ReadMessageFromPlayer(player *Player) (messageType int, p []byte, err error) {
|
2023-04-22 17:23:46 +00:00
|
|
|
panic("Not implemented")
|
2022-12-18 00:05:23 +00:00
|
|
|
}
|