Skip to content

josrr/guerra-espacial

Repository files navigation

GUERRA-ESPACIAL: A game inspired by Spacewar!

This project is intended to be a Spacewar! clone. The only feature that this version continues to lack is the hyperspace jump. The starfield uses the same data that Peter Samson’s Expensive Planetarium.

GUERRA-ESPACIAL is written in Common Lisp using McCLIM, an implementation of the Common Lisp Interface Manager, version II.

The starfield data is taken from this file. You can play an emulated version of Spacewar! and known more facts about this game on the series of articles Inside Spacewar!

Screenshot

./guerra-espacial.gif

How to run the game

To run the game, clone this repository in your Quicklisp local-projects directory

$ cd ~/quicklisp/local-projects/
$ git clone https://github.com/josrr/guerra-espacial.git

then:

$ sbcl
This is SBCL 1.4.11, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://www.sbcl.org/>.

SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses.  See the CREDITS and COPYING files in the
distribution for more information.
* (ql:quickload "guerra-espacial")
To load "guerra-espacial":
 Load 1 ASDF system:
   guerra-espacial
; Loading "guerra-espacial"
..............
("guerra-espacial")
* (guerra-espacial:main)

Generating an executable

Is posible to generate an executable file, just load genexe.lisp:

$ cd ~/quicklisp/local-projects/guerra-espacial
$ sbcl --load genexe.lisp

This must produce the file ./bin/guerra-espacial. A copy of the executable can be downloaded here.

Credits

Spacewar! was conceived in 1961 by Martin Graetz, Stephen Russell, and Wayne Wiitanen. It was first realized on the PDP-1 in 1962 by Stephen Russell, Peter Samson, Dan Edwards, and Martin Graetz, together with Alan Kotok, Steve Piner, and Robert A Saunders. Spacewar! is in the public domain, but this credit paragraph must accompany all distributed versions of the program.

About

Spacewar! clone written in Common Lisp using McCLIM

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published