game over detection system

This commit is contained in:
2024-04-20 11:22:58 +00:00
parent 27b7f6fc62
commit 6393ee12dc
3 changed files with 24 additions and 5 deletions

View File

@@ -48,7 +48,7 @@ function onUpdateZone(zone) {
export const game = new Game(onUpdateZone, onUpdateNewZone);
const penaltyController = new PenaltyController(game);
export const penaltyController = new PenaltyController();
penaltyController.init()