Code Description - TorNim0s/Pokemon-Game GitHub Wiki
Code Description
Node.py
: Implements and represents the vertices of the graph.
Edge.py
: Implements and represents the edges of the graph.
Pokemon.py
: Implements the pokemons that show up on the graph.
Agent.py
: Implements the agents that try to catch the pokemons.
DiGraph.py
: Implements the graph itself, contains lists of all vertices, agents and pokemons.
GraphAlgo.py
: Implements the algorithm that is listed above.
TSP
, DijakstraAlgo
, ShortestPath
, GBA
- get best agent, FPL
- find pokemon location.
Client.py
: Given to us with the assignment, contains function to move the agents and make/close connection with the server.
GameGUI.py
: Creates the GUI for the game.
Game.py
: The main class for this project, initializes the graph, starts the game, controls the agents.