mirror of
https://github.com/tcsenpai/shellquest.git
synced 2025-06-02 09:20:17 +00:00
21 lines
454 B
TypeScript
Executable File
21 lines
454 B
TypeScript
Executable File
#!/usr/bin/env bun
|
|
|
|
import { renderMainMenu } from './ui/mainMenu';
|
|
import { initializeGame } from './core/gameInit';
|
|
import { registerAllLevels } from './levels';
|
|
|
|
async function main() {
|
|
// Initialize game systems
|
|
await initializeGame();
|
|
|
|
// Register all game levels
|
|
registerAllLevels();
|
|
|
|
// Render the main menu to start
|
|
await renderMainMenu();
|
|
}
|
|
|
|
main().catch(error => {
|
|
console.error('Fatal error:', error);
|
|
process.exit(1);
|
|
});
|