Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int evalPositions(final Board board, final PlayerColor color) {
- // http://chessprogramming.wikispaces.com/Simplified+evaluation+function
- final int [] pawn = {
- 0, 0, 0, 0, 0, 0, 0, 0,
- 50, 50, 50, 50, 50, 50, 50, 50,
- 10, 10, 20, 30, 30, 20, 10, 10,
- 5, 5, 10, 25, 25, 10, 5, 5,
- 0, 0, 0, 20, 20, 0, 0, 0,
- 5, -5,-10, 0, 0,-10, -5, 5,
- 5, 10, 10,-20,-20, 10, 10, 5,
- 0, 0, 0, 0, 0, 0, 0, 0 };
Advertisement
Add Comment
Please, Sign In to add comment