Please can anyone help me
public class KalaGameState implements Cloneable
{
// your code goes here
public KalaGameState(int startingStones) throws InvalidStartingStonesException
{
// your code goes here
}
public int getTurn()
{
// your code goes here
}
public int getKala(int playerNum) throws IllegalPlayerNumException
{
// your code goes here
}
public int getNumStones(int sidePitNum) throws IllegalSidePitNumException
{
// your code goes here
}
public int getNumStones(int playerNum, int sidePitNum) throws IllegalPlayerNumException,
IllegalSidePitNumException
{
// your code goes here
}
public int getScore(int playerNum) throws IllegalPlayerNumException
{
// your code goes here
}
private int getSidePitArrayIndex(int sidePitNum) throws IllegalSidePitNumException
{
// your code goes here
}
public boolean gameOver()
{
// your code goes here
}
public void makeMove(int sidePitNum) throws IllegalSidePitNumException, IllegalMoveException
{
// your code goes here
}
}
public class PlayKala
{
public static void main(String[] args)
{
KalaGame g = new KalaGame(new RandomPlayer(),
new KeyboardPlayer());
g.play();
}
}
The RandomPLayer and KeyboardPLayer are both classes that extend KalaPlayer