-
Notifications
You must be signed in to change notification settings - Fork 1
Algorithms
Hadar Bitan edited this page Jan 11, 2022
·
6 revisions
In this function we get a pokemon and according to his position we finds his edge.
In this function we create the final screen and send the client an order to stop the game.
In this function we create the start screen and send the client an order to start the game.
In this function we go over every agent and check which pokemon is the closest to the agent, for this calcluate we use the shortest path function from the class GraphAlgo, after we check which pokemon is the closest we use the client function choose_next_edge to sent the agent to cetch the pokemon.