An open API service indexing awesome lists of open source software.

https://github.com/msitarzewski/starc

A faithful recreation of the classic 1980 arcade game Star Castle, built with modern web technologies for high performance and smooth gameplay.
https://github.com/msitarzewski/starc

Last synced: 29 days ago
JSON representation

A faithful recreation of the classic 1980 arcade game Star Castle, built with modern web technologies for high performance and smooth gameplay.

Awesome Lists containing this project

README

          

# Star Castle - Modern Web Edition

A faithful recreation of the classic 1980 arcade game Star Castle, built with modern web technologies for high performance and smooth gameplay.

## Features

- **Modern GPU-Accelerated Graphics**: Built with Three.js WebGL for smooth 60fps gameplay
- **Authentic Star Castle Gameplay**:
- Rotating, destructible shield rings protect the central cannon
- Vector-style graphics reminiscent of the original
- Screen wrapping player movement
- Precise collision detection
- **Visual Polish**:
- Particle effects for explosions and thrust
- Glowing retro-style text and UI
- Smooth animations and transitions
- **Complete Game Experience**:
- Start screen, pause functionality, game over screen
- Lives system and progressive scoring
- Level progression with new castles

## How to Play

### Objective
Destroy the rotating shield segments to create an opening, then shoot the central cannon to advance to the next level.

### Controls
- **Arrow Keys**:
- Left/Right: Rotate your ship
- Up: Thrust forward
- **Spacebar**: Fire bullets
- **ESC**: Pause/Resume game

### Gameplay
- You start with 3 lives
- Destroy shield segments for 10 points each
- Destroy the central cannon for 1000 points
- Enemy cannon shoots at you - avoid the red bullets!
- Your ship wraps around screen edges
- Each level spawns a new, fully-repaired castle

## Technical Details

- **Engine**: Three.js (WebGL)
- **Graphics**: Vector-style line rendering with GPU acceleration
- **Physics**: Custom 2D physics for authentic arcade feel
- **Performance**: Optimized for 60fps on modern browsers
- **Compatibility**: Works on desktop and mobile browsers

## Installation

1. Clone or download this repository
2. Open `index.html` in a modern web browser
3. Press Spacebar to start playing!

No build process or server required - just open and play!

## GitHub Pages

This repository includes a Pages deployment workflow at `/Users/michael/Software/starc/.github/workflows/pages.yml`.

To enable it:

1. Open your repo Settings -> Pages.
2. Under "Build and deployment", set Source to "GitHub Actions".
3. Push to `main` (or run the workflow manually).
4. Your game will be available at:
- `https://msitarzewski.github.io/starc/`

## Browser Compatibility

- Chrome/Chromium (recommended)
- Firefox
- Safari
- Edge

Requires WebGL support (available in all modern browsers).

---

*Recreated with ❤️ for retro gaming enthusiasts*