-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
15 lines (13 loc) · 805 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Java project that simulates the PokemonGo application.
For each test, the data about 2 trainers are read, each of
them having 3 pokemon. A battle takes place one after another
between the pokemon trainers in the arena. Here they can fight
with neutral pokemon or against each other.
The battles between pokemon are done using threads.
In the implementation of the project we used 4 design patterns:
-> Builder for building pokemon, special items and abilities
-> Factory for the construction of neutral pokemon that have similar attributes
-> Singleton to get a single instance of a class, which is a global
access point for the entire program
-> Observer, for the implementation of the logger that observes an important event
during the fight and displays it both on stdout and in output files