source: java/ecj/games/Board.java @ 28

Last change on this file since 28 was 28, checked in by mszubert, 15 years ago

cecj - coEvolutionary Computation in Java with additional games package

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id Revision
File size: 497 bytes
Line 
1package games;
2
3public interface Board extends Cloneable {
4        public int countPieces(int i);
5
6        public int getPiece(int row, int col);
7
8        public int getPiece(int row, int col, int dir, int dist);
9
10        public void setPiece(int row, int col, int dir, int dist, int currentPlayer);
11
12        public boolean isEmpty(int row, int col);
13
14        public GameMove getShiftedMove(int row, int col, int dir, int dist);
15
16        public double evaluate(Player player);
17
18        public int getValueAt(int row, int col);
19
20        public Board clone();
21}
Note: See TracBrowser for help on using the repository browser.