Skip to content

Latest commit

 

History

History
44 lines (38 loc) · 1.09 KB

README.md

File metadata and controls

44 lines (38 loc) · 1.09 KB

spinout

Author

Mladjan Gadzic

Description

Collect as many coins as possible while avoiding crash.
Speed is not on your side.

Dependencies

Built using OpenGL API with GLU/GLUT Libs.

freeglut-dev3

Installation and running the program

Install dependencies.
Download the repository and run:

$ make
$ ./spinout.out [gameDifficulty] [playerName]

gameDifficulty: [emhi] (easy, medium, hard, insane). If gameDifficulty is ommited, the game is set to default (easy) mode.
playerName: Player's choice. If playerName is ommited, player is given default ('Unnamed') name.
If there are more then 3 arguments of command line, they are ignored and default values are set. Only 2 or 3 command line arguments are accepted.

Controls

Key Description
ENTER start the game
'p' or 'P' pause the game
ESC exit the game
'a' or 'A' move player car to the left
'd' or 'D' move player car to the right

Upcoming features

  • Invulerability
  • Ammo boxes
  • Highscore leaderboard