Created
December 27, 2011 19:27
-
-
Save niyazpk/1524869 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var WHITE_KING = 100; | |
var WHITE_QUEEN = 90; | |
var WHITE_ROOK = 50; | |
var WHITE_BISHOP = 31; | |
var WHITE_KNIGHT = 30; | |
var WHITE_PAWN = 10; | |
var BLACK_KING = -WHITE_KING; | |
var BLACK_QUEEN = -WHITE_QUEEN; | |
var BLACK_ROOK = -WHITE_ROOK; | |
var BLACK_BISHOP = -WHITE_BISHOP; | |
var BLACK_KNIGHT = -WHITE_KNIGHT; | |
var BLACK_PAWN = -WHITE_PAWN; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment