[x] Game is broken when created from tournament backend (works with the preview)
[ ] Countdown timer causes game to break
[x] Scroll and camera movements doesn't seem to work with the webcomponent
[x] Sometimes the game crashes and I'm not sure why. This is the error log we get below:
FROM BACKEND : DELETE MATCH -3
Keys in matches map: [ -3, -5, -9 ]
INSIDE MATCH HAS MATCHID
DELETING MATCH
/app/src/app_remastered.js:86
let gameState = render.updateData(match.gameState);
^
TypeError: Cannot read properties of undefined (reading 'gameState')
at Timeout.gameLoop [as _onTimeout] (/app/src/app_remastered.js:86:42)
at listOnTimeout (node:internal/timers:575:11)
at process.processTimers (node:internal/timers:514:7)
Node.js v20.12.0
[nodemon] app crashed - waiting for file changes before starting...
[x] Sometimes the game crashes and I'm not sure why. This is the error log we get below: