de.fhwiesbaden.jgamp001.thello
Interface Game<M>

All Known Subinterfaces:
RegularGame<M>
All Known Implementing Classes:
AbstractRegularGame, ThelloGame

public interface Game<M>


Method Summary
 byte currentPlayer()
           
 Game<M> doMove(M m)
           
 boolean ended()
           
 int evalState(byte player)
           
 java.lang.Integer getMovesDone()
           
 java.util.List<M> moves()
           
 boolean noMoreMove()
           
 byte otherPlayer(byte player)
           
 boolean wins(byte player)
           
 

Method Detail

moves

java.util.List<M> moves()

doMove

Game<M> doMove(M m)

getMovesDone

java.lang.Integer getMovesDone()

currentPlayer

byte currentPlayer()

otherPlayer

byte otherPlayer(byte player)

noMoreMove

boolean noMoreMove()

ended

boolean ended()

wins

boolean wins(byte player)

evalState

int evalState(byte player)