Class Simon

public class Simon

The game of Simon says. Four buttons: a random sequence of of buttons is highlighted and the player must match this sequence. If they do, a longer sequence is generated and so on.

Version:
$Id: Simon.java,v 1.2 2001/05/18 02:52:47 administrator Exp $
Author:
Ben Dugan

Constructor Detail

Simon

public Simon()
Create a new game.
Method Detail

displayButtons

public void displayButtons()

sleep

public void sleep(int msecs)

displayPath

public void displayPath()

press

public void press(int buttonIndex)

press

public void press(int x,
                  int y)

doTurn

public boolean doTurn()
Do one turn of the game.

main

public static void main(java.lang.String[] args)