A Chrome T-Rex Runner game (chrome://dino) clone built with Phaser 3 on Somnia Blockchain
- PWA support
- Responsive design for both portrait and landscape modes
- Touch and keyboard controls
- Day/night cycle mechanics
- Score tracking with current and high score displays
- Game over screen with restart and share options
- Modular UI components
- Progressive difficulty system
- Achievement system with score milestones
src/
├── scenes/
│ ├── game/ # Main game scene and UI management
│ └── ... # Other game scenes
├── prefabs/
│ ├── ui/
│ │ ├── gameover/ # Game over UI components
│ │ ├── score/ # Score display components
│ │ └── ... # Other UI components
│ └── ... # Game object prefabs
└── config/ # Game configuration
- Node.js (v14 or higher)
- npm (v6 or higher)
- Clone the repository
- Install dependencies:
npm install
- Start development server:
npm start
- Build the project:
npm run build
- Serve the production build:
npx serve dist
- Built with Phaser 3 game framework
- Uses ES6+ JavaScript
- Modular component-based architecture
- Event-driven game state management
- Responsive UI scaling system
- Progressive difficulty implementation
- Chromium source
- Phaser 3 documentation