This commit is contained in:
Tyler
2025-05-01 18:46:29 -10:00
committed by GitHub
parent 766386501b
commit 7ec213fad0
18 changed files with 1321 additions and 659 deletions
+5 -4
View File
@@ -1,11 +1,12 @@
// main.js
/**
* Main application entry point.
* Initializes UI and game components when the DOM is loaded.
*/
import { setupUI } from './ui.js';
import { setupGame } from './pacman.js';
/**
* Initialize UI and game once the DOM is fully loaded.
*/
// Initialize application when DOM is fully loaded
window.addEventListener("DOMContentLoaded", () => {
setupUI();
setupGame();