diff --git a/TODO.txt b/TODO.txt index 1384fe91a..bef78fde6 100644 --- a/TODO.txt +++ b/TODO.txt @@ -155,10 +155,11 @@ * Improve alliance icon DONE 10/2/2024 * BUG: center button should be disabled select island DONE 10/2/2024 * BUG: boat icon appears when click inland DONE 10/2/2024 -* Make fake humans spawn by their country -* Auto deploy to dev on commit -* BUG: double tap zooms on mobile +* Auto deploy to dev on commit DONE 10/2/2024 * add emoji button +* Make fake humans spawn by their country +* BUG: double tap zooms on mobile +* fake humans target enemies * make year clock * block user inputs if too far behind server * BUG: FakeHuman don't be enemy if don't share border (or send boat) diff --git a/src/client/ClientGame.ts b/src/client/ClientGame.ts index dbd9e4cca..63ec27132 100644 --- a/src/client/ClientGame.ts +++ b/src/client/ClientGame.ts @@ -145,6 +145,7 @@ export class ClientGame { if (!this.gs.isOnMap(cell)) { return } + console.log(`clicked cell ${cell}`) const tile = this.gs.tile(cell) if (tile.isLand() && !tile.hasOwner() && this.gs.inSpawnPhase()) { this.eventBus.emit(new SendSpawnIntentEvent(cell)) diff --git a/src/core/game/GameImpl.ts b/src/core/game/GameImpl.ts index bd24fa019..1346f56f1 100644 --- a/src/core/game/GameImpl.ts +++ b/src/core/game/GameImpl.ts @@ -127,9 +127,6 @@ export class GameImpl implements MutableGame { if (this._ticks % 100 == 0) { let hash = 1; this._players.forEach(p => { - if (p.type() == PlayerType.Human) { - console.log(`${p.toString()}`) - } hash += p.hash() }) console.log(`tick ${this._ticks}: hash ${hash}`)