Interface BoardGame
- All Known Implementing Classes:
- AbstractBoardGame
- public abstract interface BoardGame
Interface for TicTacToe and Gomoku.
- Version:
- 1.6 1999-02-04
- Author:
- Oscar.Nierstrasz@acm.org
update
public void update()
throws java.io.IOException
move
public void move(java.lang.String coord,
char mark)
throws AssertionException
currentPlayer
public Player currentPlayer()
winner
public Player winner()
get
public char get(int col,
int row)
throws AssertionException
notOver
public boolean notOver()
squaresLeft
public int squaresLeft()
inRange
public boolean inRange(int col,
int row)
test
public void test()