25
May

Game Interface

public interface Game<GAME extends Game<GAME>>
{
    GAME copy();
    int getCurrentPlayer(); // The players start from 0, 1, 2... and so on
    boolean isGameOver();
    int getMovesSize();
    List<String> getMoves();
    Outcome[] getOutcomes();
    void makeMove(int move);
    void reset();
    String boardString();
}