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

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

cecj, framsticks and games packages imported

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.