Skip to content

C++ revival of the Atari 1982 Gravitar console game.

License

Notifications You must be signed in to change notification settings

acsor/Non-Gravitar

Repository files navigation

Project Non-Gravitar

"Gravitar cover"

University of Bologna 2018/19 CS course Programming project, aiming to produce a reduced C++ implementation of the Atari 1982 game Gravitar.

Usage

Non-Gravitar features the following list of commands

Command Effect
wAccelerate spaceship
aRotate spaceship counter-clockwise
dRotate spaceship clockwise
kActivate tractor beam
space barShoot missiles

Aim of the game is recording the highest possible score by entering into planets and striking all bunkers. Once all of bunkers in a planet have been cleared, that planet will undergo destruction. And when all planets of a solar system have been cleared, you'll be taken into a new solar system. Be careful to not go out of fuel!

Installing

In order to compile this project, first ensure you have all the needed dependencies:

Once you have completed your setup, simply issue the following commands

cd <project root directory>
cmake .
make NonGravitar # (1)
./NonGravitar # (2)

Testing

This project offers a reasonable unit-testing suite, written according to Catch2. In order to run it, simply substitute commands (1) and (2) above with

make test-all
./test-all

About

C++ revival of the Atari 1982 Gravitar console game.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published