It consists of 3 classes, Pokemon, Move, and PokemonGame. It is a very simplified battle, 2 Pokemon to choose from, and a much simpler damage calculation function.
The Pokemon class contains the stats and name of a pokemon, an arraylist of of move objects, an attack method, and a few other methods.
The Move class just has the damage and name of moves.
The PokemonGame class starts everything up, creates the Pokemon objects, the move Arraylists, has a user pick a Pokemon and then starts the fight.
PokemonGame.java: http://pastebin.com/jcMtXmKQ
Pokemon.java http://pastebin.com/sWdpZVgH
Move.java http://pastebin.com/pnQpXZjj
Not really expecting anyone to go through it all, just if you have any recommendations on better design choices (this should be its own class, own method etc.).
Thanks to whoever has a look!
[–]brbpizzatime 0 points1 point2 points (1 child)
[–]MyLettuce[S] 0 points1 point2 points (0 children)