refactor: Remove ES6 module syntax and reorder script loading

This commit is contained in:
Kacper Kostka (aider)
2025-04-02 11:52:06 +02:00
parent 8057ba881b
commit a002d4b017
3 changed files with 4 additions and 6 deletions

View File

@@ -1,8 +1,7 @@
/**********************************************************************
* GAME CORE
**********************************************************************/
// Import AI functions
import { updateCitizen, updateAnimal } from './ai.js';
// AI functions are defined in ai.js and loaded via script tag
let frameCount = 0;
let money = 5000; // Start with 5000
let purchaseMode = null;