java
java_swing
junit
2021-02-01
Check out the source code here!
Pokemon Team Draft Planner is a desktop application I wrote in Java. It’s an application for both casual and competitive pokemon players to whip up their pokemon dream teams :D
This app offers various features for managing pokemon teams.
All of the above features can be accessed via a graphical user interface (GUI)!
Users can create new teams using a GUI. They can set a nickname for the team, and can add up to 6 pokemons to that team.
There’s also a screen to view the list of all pokemon teams the user generates (as seen above).
Users can also have any of their teams analyzed for its strengths. The strength analysis determines the pokemon types that the analyzed team is strong against.
Users can save their team drafts to non-volatile memory, and load it back into the program in the future. This was implemented by writing JSON reader/writer classes.
This is a Java-based desktop GUI application. The GUI was implemented using Java Swing, and the logic/model to represent pokemon were all implemented using Java.
I followed object-oriented principles in creating this app:
Throwable
classThrowable
supertype, I was able to invoke polymorphism at runtime by having each exception class implement the logging method differentlyIn addition, I followed test-driven development (TDD) when writing my application. By writing automated unit tests first (using JUnit), I was able to detect bugs/unforeseen edge cases earlier on in the development process, thus increasing the reliability of my application.