Skip to content
tank351 edited this page Jan 24, 2020 · 10 revisions

Welcome to the Ex3 wiki! this project allows you to play a game similar to pacman where you choose a server to play on and then you can either direct robots to eat as much fruits as possible or you can choose to direct them automatically

dataStructres:

NodeData: This is one of the basic objects in my project, creating graph nodes and handling it.

EdgeData:This is one of the basic objects in my project, creating graph edges and handling it.

DGraph: This is the main data structure in my project, containing the nodes and the edges. Able to make changes in the node and make new edges.

Algorithmis :

Graph_Algo: this class has multiple algorithims for a directed graph such as shortest path

Game_Algo: this class has multiple algorithims to help us make the game run optimally

Elements:

Fruits: this class represents the fruits that are in the game

Robots: this class represents the robots that are in the game

Fruits_Algo: this class allows us to preform mltiple algorithms on the fruits

Robots_Algo this class allows us to preform mltiple algorithms on the robots

gameclient:

MyGameGui this class is the class that draw the robots and the fruits and runs our game KML_Logger: this class writes and save the kml files after we finish the game

How to start the game:

first of all you need to import the external jars in the lib folder to the project and then you run the executable jar pacman in the project folder after that a window of the game will appear then you can choose the game server (map) and then you choose if you want to play manually or automatically if you choose manual you have to add a robot by choosing add robot option then you move the robots by clicking on it and choosing the destination node if you choose auto the game starts playing by it self you can also add robots to the game by choosing add robot option you can also choose the option to see you place in the game against your classmates and also your highest score and how many game you played

Untitled

Clone this wiki locally