-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Kodemon is an application that stores Pokemon trainers, their Pokemons, badges, which they have earned and gyms, where they can fight for badges. Each trainer can have multiple Pokemons, 6 of which are marked as active. Those active Pokemons compete in fights. If a trainer wants to earn a badge, he must challenge another trainer, who is a leader of a gym. If the challenger defeats the leader of the gym, he will earn the badge of this gym. Each gym has Pokemons of some specific type.
Pokemon trainer can also catch wild Pokemons to catch them all. He can also train his active Pokemons by fighting with wild Pokemons. If they fight, they earn levels and become more powerful, so trainer can fight stronger gym leaders and earn more badges. The result of a Pokemon battle is determined by their level and by their types. Some types are stronger against some other and vice versa.
User, which is not registered as a Pokemon trainer has the role of a spectator and he can see the results of battles and how trainers are doing in their mission to catch them all.
User with the administrator rights gains access to blocking (banning) people from logging into the application.
When one Pokemon fights another, the app will multiply attacking Pokemon level by a coefficient, which is determined by attacking and defending Pokemons' types (if one type is strong against another 0.2 is added to coefficient). Then fight system compares final score of pokemons or all trainers' Pokemons (if fighting for a gym). The trainer or the Pokemon with higher score is the winner of fight.