text: ﻿#pragma strict
  
  class SquareScoreEV
  {
  	public static var PawnTable : Array = new Array
  	(
  		-30, 50, 50, 50, 50, 50, 50,-30,
  		  0,-30, 50, 50, 50, 50,-30,  0,
  		  5,  5,-30, 20, 20,-30,  5,  5,
  		 10, 10, 10,-20,-20, 10, 10, 10,
  		  0,  0,  0, 20, 20,  0,  0,  0,
  		  5, -5, 30,-20,-20, 30, -5,  5,
  		  5, 30,-50,-50,-50,-50, 30,  5,
  		 30,-50,-50,-50,-50,-50,-50, 30
  	);
  	
  	public static var KnightTable : Array = new Array
  	(
  		-50,-40,-30,-30,-30,-30,-40,-50,
  		-40,-20,  0,  0,  0,  0,-20,-40,
  		-30,  0, 10, 15, 15, 10,  0,-30,
  		-30,  5, 15, 20, 20, 15,  5,-30,
  		-30,  0, 15, 20, 20, 15,  0,-30,
  		-30,  5, 10, 15, 15, 10,  5,-30,
  		-40,-20,  0,  5,  5,  0,-20,-40,
  		-50,-40,-20,-30,-30,-20,-40,-50
  	);
  	
  	public static var ElephantTable : Array = new Array
  	(
  		-20,-10,-10,-10,-10,-10,-10,-20,
  		-10,  0,  0,  0,  0,  0,  0,-10,
  		-10,  0,  5, 10, 10,  5,  0,-10,
  		-10,  5,  5, 10, 10,  5,  5,-10,
  		-10,  0, 10, 10, 10, 10,  0,-10,
  		-10, 10, 10, 10, 10, 10, 10,-10,
  		-10,  5,  0,  0,  0,  0,  5,-10,
  		-20,-10,-40,-10,-10,-40,-10,-20
  	);
  	
  	public static var SitKelTable : Array = new Array
  	(
  		-20,-10,-10,-10,-10,-10,-10,-20,
  		-10,  0,  0,  0,  0,  0,  0,-10,
  		-10,  0,  5, 10, 10,  5,  0,-10,
  		-10,  5,  5, 10, 10,  5,  5,-10,
  		-10,  0, 10, 10, 10, 10,  0,-10,
  		-10, 10, 10, 10, 10, 10, 10,-10,
  		-10,  5,  0,  0,  0,  0,  5,-10,
  		-20,-10,-40,-10,-10,-40,-10,-20
  	);
  	
  	public static var KingTable : Array = new Array
  	(
  		 10,  10,  10,  10,  10,  10,  10,  10,
  		 10,  10,  10,  10,  10,  10,  10,  10, 
  		 10,  10,  10,  10,  10,  10,  10,  10,
  		 10,  10,  10,  10,  10,  10,  10,  10,
  		-10, -10, -10, -10, -10, -10, -10, -10,
  		-10, -10, -10, -10, -10, -10, -10, -10, 
  		-10, -10, -10, -10, -10, -10, -10, -10,
  		-10, -10, -10, -10, -10, -10, -10, -10
  	);
  	
  	public static var KingTableEndGame : Array = new Array
  	(
  		-50,-40,-30,-20,-20,-30,-40,-50,
  		-30,-20,-10,  0,  0,-10,-20,-30,
  		-30,-10, 20, 30, 30, 20,-10,-30,
  		-30,-10, 30, 40, 40, 30,-10,-30,
  		-30,-10, 30, 40, 40, 30,-10,-30,
  		-30,-10, 20, 30, 30, 20,-10,-30,
  		-30,-30,  0,  0,  0,  0,-30,-30,
  		-50,-30,-30,-30,-30,-30,-30,-50
  	);
  }