From 4e2ab55d345fd5e5c5d2d5bc56948611b15564d5 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Fri, 27 Dec 2024 12:40:19 +0100 Subject: introduce game.State interface abstraction This allows to not use the internal game state directly from client code. --- go/server/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'go/server/main.go') diff --git a/go/server/main.go b/go/server/main.go index af051b53..bd4d139a 100644 --- a/go/server/main.go +++ b/go/server/main.go @@ -6,7 +6,7 @@ import ( "muhq.space/muhqs-game/go/game" ) -var games = []game.State{} +var games = []game.LocalState{} func main() { fmt.Println("Started muhq's game server", games) -- cgit v1.2.3