trying to fix nondetermism

This commit is contained in:
evanpelle
2024-08-16 17:43:00 -07:00
parent a60daed8ef
commit 1cf112c0fb
7 changed files with 39 additions and 40 deletions
+3 -1
View File
@@ -66,7 +66,9 @@ export class GameServer {
private sendStartGameMsg(ws: WebSocket) {
ws.send(JSON.stringify(ServerStartGameMessageSchema.parse(
{
type: "start"
type: "start",
// TODO: this could get large
turns: this.turns
}
)))
}