A modern recreation of the classic Scorched Earth artillery game, written in Zig with raylib.
Scorched Earth is a turn-based artillery game where two tanks battle on destructible terrain. Players adjust their aim angle and shot power to hit their opponent while accounting for gravity and terrain obstacles. When projectiles explode, they create craters in the terrain, dynamically changing the battlefield.
- Zig 0.14.1
Build the project:
zig buildRun the game:
zig build run- ENTER - Start game
- LEFT/RIGHT - Move tank
- UP/DOWN - Adjust aim angle
- W/S - Increase/decrease shot power
- SPACE - Fire weapon
- Players take turns controlling the red and yellow tanks
- Use arrow keys to position your tank
- Adjust your aim angle with UP/DOWN arrows
- Set your shot power with W/S keys
- Press SPACE to fire
- First tank to reduce opponent's health to 0 wins