public class SimpleMancalaPlayer extends java.lang.Object implements MancalaPlayer
| Constructor and Description | 
|---|
| SimpleMancalaPlayer() | 
| Modifier and Type | Method and Description | 
|---|---|
| int | chooseMove(MancalaNode node,
          long timeRemaining)Choose a move for the given game situation given play time
 remaining. | 
| int | piecesRemaining(MancalaNode node)Returns the number of pieces not yet captured. | 
public int chooseMove(MancalaNode node, long timeRemaining)
chooseMove in interface MancalaPlayernode - a MancalaNode value - the node to
 choose a move fromtimeRemaining - a long value - your
 entire game time remaining in milliseconds.  If your time
 runs out, you lose.int value - the encoding of the
 legal move to take at the current nodepublic int piecesRemaining(MancalaNode node)
node - MancalaNode - node to check