mchess-server/server/server.go
Marco 6cbd7d37aa Various changes
1. Make lobby a struct containing the players and a mutex used to lock
   itself
2. Wait for websocket connections to be established by both players
   before starting the game.
3. Add methods to write to and read from players
2023-05-30 22:01:20 +02:00

12 lines
182 B
Go

package server
import (
"net/http"
)
var AppPath = "/home/m/projects/programming/flutter_projects/mchess/build/web"
func PlayHandler(w http.ResponseWriter, r *http.Request) {
}