diff --git a/data/opponents.json b/data/opponents.json index f6b202f..2d1379b 100644 --- a/data/opponents.json +++ b/data/opponents.json @@ -842,7 +842,7 @@ } }, { - "id": "Maurice", + "id": "maurice", "spriteIndex": 27, "name": "Maurice", "bio": "Bucky Beaver and I are there to TRAP all the fun and games!", diff --git a/src/games/battleship/BattleshipGame.js b/src/games/battleship/BattleshipGame.js index a326cb5..b2c0227 100644 --- a/src/games/battleship/BattleshipGame.js +++ b/src/games/battleship/BattleshipGame.js @@ -550,7 +550,7 @@ export default class BattleshipGame extends Phaser.Scene { if (this.gs.fleets.player1.length !== SHIPS.length) return; for (const piece of this.shipPieces) this._destroyArrow(piece); // Lock the player's fleet (no more dragging) and place the AI's. - for (const piece of this.shipPieces) { piece.container.disableInteractive(); this.input.setDraggable(piece.container, false); } + for (const piece of this.shipPieces) { piece.container.removeInteractive(); } this.placementUI.forEach((b) => b.destroy()); this.placementUI = []; this.gs.fleets.player2 = placeFleet(this.opponents[0]?.skill ?? 3); diff --git a/start_web.sh b/start_web.sh index ed7b91a..a92e9cc 100755 --- a/start_web.sh +++ b/start_web.sh @@ -1,4 +1,4 @@ #!/bin/bash # Start a simple HTTP server on port 8000 -python3 -m http.server 8000 \ No newline at end of file +python3 -m http.server 3000 \ No newline at end of file