https://github.com/ompreetham/void
A sleek, monochromatic racing game where you battle against AI cars in a vast wireframe arena. The game features a unique visual style with wireframe graphics and dramatic visual effects.
https://github.com/ompreetham/void
battle codepen game html js minimal racing space void
Last synced: 10 months ago
JSON representation
A sleek, monochromatic racing game where you battle against AI cars in a vast wireframe arena. The game features a unique visual style with wireframe graphics and dramatic visual effects.
- Host: GitHub
- URL: https://github.com/ompreetham/void
- Owner: OmPreetham
- Created: 2025-03-06T22:50:47.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-10T05:46:56.000Z (about 1 year ago)
- Last Synced: 2025-03-14T19:01:58.324Z (about 1 year ago)
- Topics: battle, codepen, game, html, js, minimal, racing, space, void
- Language: JavaScript
- Homepage: https://void.ompreetham.com
- Size: 3.15 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# VOID - A Minimalist Combat Racing Game
A sleek, monochromatic racing game where you battle against AI cars in a vast wireframe arena. The game features a unique visual style with wireframe graphics and dramatic visual effects.

[Try it on CodePen](https://codepen.io/OmPreetham/pen/xbxrRMB) | [View Source](https://github.com/OmPreetham/void)
## Features
### Visual Design
- Minimalist wireframe graphics in black, white, and shades of gray
- Dynamic health-based color system for player car
- Dramatic visual effects for collisions, lasers, and car destruction
- Clean, grid-based environment with subtle lighting
### Gameplay
- Fast-paced combat racing
- 50 AI opponents
- Laser combat system with visual trails
- Physics-based collision system
- Health system with visual feedback
- Dramatic death and respawn effects
### Controls
- **Arrow Up**: Accelerate
- **Arrow Down**: Brake/Reverse
- **Arrow Left/Right**: Turn
- **Spacebar**: Shoot laser
- **Spacebar** (when game over): Restart game
### Special Effects
- Laser trails and impact effects
- Collision feedback
- Car destruction animation with debris
- Spawn effects for all cars
- Dramatic restart sequence
- Pulsing "GAME OVER" message
## Setup
1. Clone this repository
2. Start a local server (e.g., `python3 -m http.server 8080`)
3. Open your web browser and navigate to `http://localhost:8080`
## Technical Details
Built using:
- Three.js for 3D graphics
- Pure JavaScript for game logic
- HTML5 Canvas for rendering
- CSS for UI elements
## Game Mechanics
### Player Car
- Health-based color system (white to dark gray)
- Increased mass for better handling
- Laser shooting capability
- Dynamic speed and handling
### AI Cars
- Independent movement patterns
- Automatic shooting
- Collision avoidance
- Spawn across the arena
### Combat System
- Fast-firing laser system
- Visual hit feedback
- Health-based damage
- Destruction effects
## Tips
- Use your momentum to avoid enemy fire
- Watch your health (indicated by car color)
- Use the grid for spatial awareness
- Keep moving to avoid being surrounded
Enjoy the game!