I tried using "break" but that stops the game. It's strange that continue works when playing the game via console but it doesn't work with JOptionPane.
Type: Posts; User: Hamran2011
I tried using "break" but that stops the game. It's strange that continue works when playing the game via console but it doesn't work with JOptionPane.
Sorry about all that text. When I use "continue" (see below), a pop up dialog appears saying that a monster cannot attack itself. Once you click OK the message box (saying "A monster cannot attack...
I have managed to create a simple GUI for a game which was previously a console game. The console application starts by showing a list of available monsters and the properties of each monster. Each...