graphics - ShiraAnaki130/OOP_ex2 GitHub Wiki
The graphics
The agents
There are four kinds of Pokeball icons that represent the agents, if there are more than four agents the icons will repeat their self The agents that travel on the graph have a title mark representing their id.
The agents' grade depends on the sum and values of the pokemons each one catches and updates on the right corner of the board. The scoreboard resizes according to the number of agents that travel on the graph.
The pokemons
Friendly pokemons
The type of friendly pokemon is 1.
psyduck is a pokemon with a smaller value than 10.
charmander is a pokemon with a value from 10 and higher
Hostile pokemons
The type of hostile pokemon is -1.
jigglypuff is a pokemon with a smaller value than 10.
Snorlax is a pokemon with a value from 10 and higher
The log in
Each time a player wants to play, they need to log in to the server. The window of the log-in will appear and the player can enter his ID and which scenario he wants to play. After clicking the button start this window will close and the window of the game will appear and the game will begin. The score of the game is saved on an online server.
The game information
On the left top corner of the board, the player can see which scenario he chose. The scenarios are running for a certain amount of time and the player can see the timer counting how many seconds left for the game to end.