Class GomokuGame

java.lang.Object
  extended by GomokuGame

public class GomokuGame
extends java.lang.Object

GomokuGame - a text-based basic Gomoku game using GomokuState. See http://en.wikipedia.org/wiki/Gomoku for game rules.


Constructor Summary
GomokuGame()
           
 
Method Summary
static void main(java.lang.String[] args)
          main - A text-based Gomoku game implementation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GomokuGame

public GomokuGame()
Method Detail

main

public static void main(java.lang.String[] args)
main - A text-based Gomoku game implementation. Initially, the user is asked to enter a the board grid size. Input then consists of pairs of integers indicating 0-based row and column positions. Black places the first piece and then players alternate. Before each move, the board and current player is printed. After a winning move, the final board and winning player is printed, and the game terminates. Illegal plays yield an error message and are ignored.

Parameters:
args - a String[] value