A high-performance arcade shooter built with native JavaScript. Classic gameplay, infinite progression, and zero dependencies.
Space Game is a minimalist STG (Shooting Game) engine designed for the web. It features a custom-built entity pooling system to ensure smooth 60FPS performance even with hundreds of bullets on screen.
- Infinite Scaling: Weapon levels have no cap. Your firepower grows as long as you survive.
- Procedural Bullet Patterns: Projectile spread is calculated algorithmically based on your weapon level.
- Precision Control: Pure keyboard input with a dedicated "Focus Mode" (
Shiftkey) for precise dodging. - High Performance: Uses Object Pooling and Delta-Time physics to eliminate garbage collection stutters.
| Key | Action |
|---|---|
| W / A / S / D | Move Ship |
| SPACE | Shoot (Hold) |
| SHIFT | Focus Mode (Slow Movement) |
| ESC | Pause Game |
-
Clone the repository
git clone [https://github.com/ygpydh/space-game.git](https://github.com/ygpydh/space-game.git)
-
Run the game
- Open
index.htmlin any modern web browser. - No build steps or
npm installrequired.
- Open
space-game/
βββ index.html # Entry point
βββ style.css # Styles & UI
βββ script.js # Game Engine (v0.1)
βββ README.md # Documentation