RSS feed
[root]
/
games
/
search
/
src
/
ai
/
document
login:
password:
title search:
Search this site
Enter your search terms
Web
www.carfield.com.hk
Submit search form
Prev
Next
Tue May 30 16:00:00 GMT 2000
ChessPosition
public class ChessPosition extends Position { final static public int BLANK = 0; final static public int HUMAN = 1; final static public int PROGRAM = -1; final static public int PAWN = 1; final static public int KNIGHT = 2; final static public int BISHOP = 3; final static public int ROOK = 4; final static public int QUEEN = 5; final static public int KING = 6; int [] board = new int[120]; public String toString() { StringBuffer sb = new StringBuffer("["); for (int i=22; i<100; i++) { sb.append(""+board[i]+","); } sb.append("]"); return sb.toString(); } }
(google search)
(amazon search)
1
2
3
second
download zip of files only
Prev
Next