The point of the game is to move unicorn around upcoming obstacles(stars). Game is over when unicorn crashes a star. Points are generated depending on how long player stays in game.
In order to play game, first get a copy of game into your directory using following command:
git clone https://github.com/vikki180/Project1.git
Second, install following libraries:
- SDL2_image using: sudo apt-get install libsdl2-image-dev
- SDL2_ttf using: sudo apt-get install libsdl2-ttf-2.0-0 sudo apt-get install libsdl2-ttf-dev
Third, once libraries are installed, put following commands into terminal: make ./main
Using left, right, up, or down keys move unicorn to overcome stars.