import { Level } from './levels/level.js';
import { UIScene } from './uiScene.js';

const GAME_CONFIG = {
    type: Phaser.AUTO,
    scale: {
        mode: Phaser.Scale.FIT,
        autoCenter: Phaser.Scale.CENTER_BOTH,
        width: 1600,
        height: 900,
        parent: 'game-container'
    },
    parent: 'game-container',
    backgroundColor: '#bb7432ff',
    scene: [
        Level,
        UIScene
    ],
    physics: {
        default: 'arcade',
        arcade: {
            gravity: { y: 0 },
            debug: false
        }
    }
};

// Create the game instance
const game = new Phaser.Game(GAME_CONFIG);

console.log('Alien Rush game initialized successfully!');
