This Github project is an educational example for using git & github as part of the Object Oriented Programming course. This project comprehensive: motion planning, basic use of graphical processes and interfaces, and handling of conversion, opening and saving of files. In this project you will play a Packman-style game. This project is an extension of the previous assignment we have made (link): https://github.com/NviCoder/OOP_Ex3.
Goal of the game: Get the most points in any simulation.
-
It is possible to move only one player (called player, marked with the letter "M"). Controlling a player is by giving direction in degrees to his movement. When all traffic is within the area defined in the previous exercise, and all traffic is in 2D only. (The height dimension is always 0).
-
There are also obstacles (black rectangles), the player can not pass through them, in fact any entry to a black rectangle or exit outside the boundaries of the field drops a point. The black rectangles are marked with a letter B.
-
Beyond the player there are also other pacmans (marked with the letter P) who want to eat the fruit. It is possible to eat this time both the fruit and the pecmans, get for each eating of the fruit or the paceman usually point.
-
In addition, there are ghosts that chasing player M, which are marked with a letter G. The player is set to be faster than them. The ghosts are defined as being able to cross the obstacles as opposed to the player. For each ghosts arrival, the player drops 20 points. And then there are three seconds of grace to continue to escape.
You must have java 11 , to be able to run this.
5. Now , you should see the data folder in your project, and select one of csv files, to set the game.
7. During the game there is a bar at the bottom of the screen, which shows the result and time in real time
8. In addition , after you finished play, you can look on You also have the option, after you have finished playing,
to see your stats, and how you played in relation to other players.
Elad and Yoav