A 2-player vector space combat game built on the zigvectorgames platform, inspired by the classic Spacewar! and the pystarfight Python game.
Two ships duel around a central star with gravity, missiles, and toroidal screen wrapping. First to score the target number of kills wins.
- A / D: Rotate left/right
- W: Thrust
- TAB: Fire missile
- S: Hyperspace
- Left / Right arrows: Rotate
- Up arrow: Thrust
- Right Shift: Fire missile
- Down arrow: Hyperspace
- P: Pause
- R: Restart match
- F: Toggle fullscreen (platform-level)
- ESC: Quit
- Central gravity star that pulls ships and bullets
- Toroidal screen wrapping (fly off one edge, appear on the other)
- Vector-drawn ships with thrust flames
- Missile combat with limited active bullets per ship (4 max)
- Ship explosions with debris particles
- Automatic respawn after destruction
- Score tracking — first to 5 kills wins
- MSAA anti-aliasing and bloom/glow post-processing (via vgame platform)
- Sound effects (shoot, thrust, explosion, tonal bleeps)
Requires Zig 0.15.2 (zvm).
zig build run