have server check hashes, crash game if out of sync

This commit is contained in:
Evan
2025-02-25 16:24:22 -08:00
parent 500bf26ba3
commit 45aba4b310
5 changed files with 112 additions and 3 deletions
+1
View File
@@ -30,6 +30,7 @@ import { UnitImpl } from "./UnitImpl";
import { consolex } from "../Consolex";
import { GameMap, GameMapImpl, TileRef, TileUpdate } from "./GameMap";
import { DefenseGrid } from "./DefensePostGrid";
import { simpleHash } from "../Util";
export function createGame(
gameMap: GameMap,