Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
aymanrs authored Mar 25, 2020
1 parent 13c4e65 commit 65a7acd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# mylittlegame
To run the game, open a terminal, and go to _Dogplay_ Directory, then run command "./bin/Dogplay"<br>
Move the dog by using the keyboard arrows to reach the ball and avoid the black arrows<br>
Whenever you catch the ball your score increases and if you get touched by an arrow your score decreases<br>
If your score is less than **minScore** then you lose<br>
You can use bombs by pressing the space bar, a bomb stops all arrows and lets you touch them for **bombsDuration** seconds, but You have only **numberOfBombs** bombs<br>
You can changer some constants such as **numberOfArrows**, **dogSpeed**, **numberOfBombs** in _src/main.cxx_ file. Then use the command "make all" then "./bin/Dogplay".<br>
This project is made for Linux, so If you're on windows then replace libraries in _lib_ folder by the specific SFML libraries of Windows, also change the Makefile so that the commands will be adapted to your OS.<br>
You can change some constants such as **numberOfArrows**, **dogSpeed**, **numberOfBombs** in _Dogplay/src/main.cxx_ file. Then use the command "make all" then "./bin/Dogplay" (be sure to be in Dogplay directory !).<br>
This project is made for Linux, so If you're on windows then replace libraries in _Dogplay/lib_ folder by the specific SFML libraries of Windows, also change the Makefile so that the commands will be adapted to your OS.<br>
Have fun !

0 comments on commit 65a7acd

Please sign in to comment.