Skip to content

thiagoharry/spacewar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spacewar

Screenshot

This is a clone of DEC PDP-1's Spacewar!, one of the first computer games built in 1961.

The game features an arena where two spaceships fight against each other. In the middle of the arena there's a star whose gravity attracts the spaceships and its projetiles. Anything that touches the star is destroyed. The space is warped, anything that goes too far at any direction appears again in the opposite direction.

The game can be played by one or two players. Playing alone you fight against an AI. You need the X11, ALSA and vorbis libraries to compile this game.

The controls are:

  • Up, Left, Down and Up: Controls spaceship 1.
  • W, A, S, D: Controls spaceship 2.
  • Right Control: Teleports spaceship 1.
  • Left Control: Teleports spaceship 2.
  • Esc: Exit.

If you want to read a tutorial explaining how this game was made using [Weaver Framework] (https://github.com/thiagoharry/old_weaver), check:

http://www.nongnu.org/weaver/spacewar/spacewar.htm

About

A Spacewar! clone built for Linux using X11. [Finished Project]

Resources

License

Stars

Watchers

Forks

Packages

No packages published