public class HexBoard
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
| static char | BLACK | 
| protected int[] | board | 
| protected int | cols | 
| protected int | rows | 
| static char | SPACE | 
| static char | WHITE | 
| Constructor and Description | 
|---|
| HexBoard() | 
| HexBoard(HexBoard orig,
        HexMove m) | 
| HexBoard(int r,
        int c) | 
| Modifier and Type | Method and Description | 
|---|---|
| static void | main(java.lang.String[] args) | 
| structure.Vector | moves(char m) | 
| static char | opponent(char m) | 
| java.lang.String | toString() | 
| boolean | win(char m) | 
protected int[] board
protected int rows
protected int cols
public static final char WHITE
public static final char BLACK
public static final char SPACE