Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/neyney10/PackmanV2
Browse files Browse the repository at this point in the history
  • Loading branch information
neyney10 committed Jan 9, 2019
2 parents f13fa95 + 15fea1d commit db63b9b
Showing 1 changed file with 22 additions and 4 deletions.
26 changes: 22 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ You can fork this repisoritory and add new GameObjects by yourself!
- -> https://github.com/Lichy24

# How to play the game?

## Game goals and notes
the goal in this game is to eat as many fruits as you can before time runs out, and thier are also evil pacmans which are try to eat your fruits, ghost which are trying to kill you as well! isn't it exciting?
the game will end if thier are no more fruits or time runs out. if you are able to end the game before time runs out you will get bouns time points to your score, every fruit and pacman can be eat and give you one(1) point.
Expand All @@ -48,15 +49,18 @@ Ghost- will chase you if a ghost kills you lose 20 points.
Box - will block your path and need to go around it if player touchs box lose 1 point.

## How to actually play?

### Manual
- <u>Step 1:</u> Choose placment of Sonic(Player) by pressing the GameObject menu clicking on sonic which is label "The choosen one".<br>
- <u>Step 2:</u> Click any were on the map to place the Sonic(Player).<br>
- <u>Step 3:</u> Press Run(M) to run manual. the Sonic will start running.<br>
- <u>Step 4:</u> Controlling the Sonic(Player) by clicking on the map Sonic orientation will be change to face the mouse click position.<br>

### Automatic Robot
- Step 1: Press on create robot which will a popup will apper their you will choose the robot algortihm to work with, if not choosed will use default algorithm.<br>
- Step 2: Press Run(A) will initiate the game and the Auto Player will pick his start position and will go to eat fruits.<br>
- Step 2: Press Run(A) will initiate the game and the Auto Player will pick his start position and will go to eat fruits.<br><br>
![alt text](Other/GitHubMedia/CreateRobot.jpeg)

# Running example 8
<u>Our toughts:</u> We decide on algorithm while search for a fruit and not interrupt other pacman which going to thier fruits while also passing obstacles and avoid ghosts.<br>
<u>Run:</u> While running the game player is going trough each fruit while moving around the obstacles ,racing the other pacmans and avoid the ghosts to not lose points.<br>
Expand All @@ -69,13 +73,27 @@ Box - will block your path and need to go around it if player touchs box lose 1

- <u>Step 3:</u> select the game file you want to load!

Note: make sure that the CSV file (if not generated by the game) to be in this format:
Note: make sure that the CSV file (if not generated by the game) to be in this format:<br><br>
![alt text](Other/GitHubMedia/PicCsv1.jpg)

# Our Wiki Descrption
Link of wiki: https://github.com/neyney10/PackmanV2/wiki<br>

Link of wiki: https://github.com/neyney10/PackmanV2/wiki<br>
in the wiki you may read on our algortihm of Player(Sonic) and Desgin of automatic robots.<br>

# Manaul and auto scores
our game scores for auto and manaul playing each scenario has different layout for the player to complete <br>
and at the end of every game will get a score, to rate his gameplay.<br>

- Example 1: manaul: 27.6 auto: 53.5 <br><br>
- Example 2: manaul: 64.2 auto: 80.9 <br><br>
- Example 3: manaul: 45.1 auto: 54.8 <br><br>
- Example 4: manaul: 81.2 auto: 81.2 <br><br>
- Example 5: manaul: 81.2 auto: 81.2 <br><br>
- Example 6: manaul: 12.0 auto: 13.0 <br><br>
- Example 7: manaul: 46.0 auto: 68.4 <br><br>
- Example 8: manaul: 20.0 auto: 20.3 <br><br>
- Example 9: manaul: 21.9 auto: 23.9 <br><br>


# Summary of Game's Code Library Structure
[Blue lines = Game Logic & Data] <br>
Expand Down

0 comments on commit db63b9b

Please sign in to comment.