Skip to content

ygpydh/space-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ Space Game

A high-performance arcade shooter built with native JavaScript. Classic gameplay, infinite progression, and zero dependencies.

License Version

πŸ“– About The Project

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.

✨ Key Features

  • 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" (Shift key) for precise dodging.
  • High Performance: Uses Object Pooling and Delta-Time physics to eliminate garbage collection stutters.

πŸ•ΉοΈ Controls

Key Action
W / A / S / D Move Ship
SPACE Shoot (Hold)
SHIFT Focus Mode (Slow Movement)
ESC Pause Game

πŸš€ Getting Started

Installation

  1. Clone the repository

    git clone [https://github.com/ygpydh/space-game.git](https://github.com/ygpydh/space-game.git)
  2. Run the game

    • Open index.html in any modern web browser.
    • No build steps or npm install required.

πŸ“‚ Project Structure

space-game/
β”œβ”€β”€ index.html      # Entry point
β”œβ”€β”€ style.css       # Styles & UI
β”œβ”€β”€ script.js       # Game Engine (v0.1)
└── README.md       # Documentation

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published