6ad2b65aba
See release for more info
13 lines
253 B
JavaScript
13 lines
253 B
JavaScript
// main.js
|
|
|
|
import { setupUI } from './ui.js';
|
|
import { setupGame } from './pacman.js';
|
|
|
|
/**
|
|
* Initialize UI and game once the DOM is fully loaded.
|
|
*/
|
|
window.addEventListener("DOMContentLoaded", () => {
|
|
setupUI();
|
|
setupGame();
|
|
});
|