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 7fb6e7f commit cb99bcb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dogplay/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>
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 _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 cb99bcb

Please sign in to comment.