Search:

Type: Posts; User: Hamran2011

Search: Search took 0.79 seconds.

  1. Replies
    6
    Views
    809

    Re: while loop in GUI game

    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.
  2. Replies
    6
    Views
    809

    Re: while loop in GUI game

    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...
  3. Replies
    6
    Views
    809

    while loop in GUI game

    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...
Results 1 to 3 of 3