Checkpoint before line-grid scrolling refactor

This commit is contained in:
2026-05-16 13:44:03 +02:00
parent 42582352d6
commit fe33e4f0ab
25 changed files with 1989 additions and 840 deletions
-11
View File
@@ -167,17 +167,6 @@ io.on('connection', (socket) => {
}
}
});
// Start a new game
socket.on('startGame', async () => {
try {
console.log('Starting test game session');
startDemoGame();
}
catch (error) {
console.error('Error starting game:', error);
socket.emit('error', { message: 'Failed to start game. Please try again.' });
}
});
// Process player command
socket.on('playerCommand', async (data) => {
try {