Skip to content

benmuth/scorched-earth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scorched Earth

A modern recreation of the classic Scorched Earth artillery game, written in Zig with raylib.

About

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.

Requirements

  • Zig 0.14.1

Building

Build the project:

zig build

Run the game:

zig build run

Controls

Menu

  • ENTER - Start game

Gameplay

  • LEFT/RIGHT - Move tank
  • UP/DOWN - Adjust aim angle
  • W/S - Increase/decrease shot power
  • SPACE - Fire weapon

How to Play

  1. Players take turns controlling the red and yellow tanks
  2. Use arrow keys to position your tank
  3. Adjust your aim angle with UP/DOWN arrows
  4. Set your shot power with W/S keys
  5. Press SPACE to fire
  6. First tank to reduce opponent's health to 0 wins

About

A game inspired by the classic MS-DOS artillery game, written in Zig with raylib.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages