Game Rules:

The game "Chess" is played by two players on a 8x8 rectangle board with square tiling.
Regions:
    Promotion: the top sites of the board for P1
    Promotion: the bottom sites of the board for P2 
All players play with Pawns, Rooks, Kings, Bishops, Knights and Queens.
Rules for Pieces:
     Bishops slide from the location of the piece in the diagonal direction through the set of empty cells.
     Kings if there is an enemy Player at to, remove pieces at to then set the current counter of the game to -1 then step adjacent then if State at the to location of the last move is equal to 1, set the state of the Cell the to location of the last move to 0.
     Knights leap a piece to not is a friend.
     Pawns if the location of the piece is in start position, slide from the location of the piece in the forward direction through empty then set the site  the Cell 1 steps ahead of the to location of the last move in the direction backward to pending or step forward or remove pieces at to then step forward-right or forward-left or step forward-right or forward-left then remove pieces at  the Cell 1 steps ahead of the to location of the last move in the direction backward if the to location of the last move is in Promotion: the top sites of the board for P1 or Promotion: the bottom sites of the board for P2, move again and set the current counter of the game to -1.
     Queens slide from the location of the piece in the adjacent direction through the set of empty cells.
     Rooks slide from the location of the piece in the orthogonal direction through the set of empty cells then if State at the to location of the last move is equal to 1, set the state of the Cell the to location of the last move to 0.
Players take turns moving.
Setup:
     Place a Pawn for player one at each cell of the 1 row.
     Place a Pawn for player two at each cell of the 6 row.
     Place a Rook for player one on sites: A1 and H1.
     Place a Knight for player one on sites: B1 and G1.
     Place a Bishop for player one on sites: C1 and F1.
     Place a Queen for player one on site D1.
     Place a King for player one on site E1.
     Place a Rook for player two on sites: A8 and H8.
     Place a Knight for player two on sites: B8 and G8.
     Place a Bishop for player two on sites: C8 and F8.
     Place a Queen for player two on site D8.
     Place a King for player two on site E8.
Rules: 
     If in the same turn, a piece of the moving player the to location of the last move, this piece can promote into Queen, Knight, Bishop or Rook, else move one of your pieces or if State at King of current moving player is equal to 1 and not King of the moving player is threatened, if State at RookLeft of current moving player is equal to 1 and can move slide from RookLeft of current moving player in the east direction through empty, slide from King of current moving player in the west direction through empty and not King of the moving player is threatened then slide from RookLeft of current moving player in the east direction through true or if State at RookRight of current moving player is equal to 1 and can move slide from RookRight of current moving player in the west direction through empty, slide from King of current moving player in the east direction through empty and not King of the moving player is threatened then slide from RookRight of current moving player in the west direction through true.
Aim: 
     If King of the next player is threatened and not can move move one of your pieces, the moving player wins If the moving player cannot move or Counter is equal to 99, it's a draw.


Game Heuristics:

All Players:

material
Sum of owned pieces.
You should try to maximise the number of Knight(s) you control (low importance)
You should try to maximise the number of Bishop(s) you control (low importance)
You should try to maximise the number of Queen(s) you control (very high importance)
You should try to maximise the number of Pawn(s) you control (very low importance)
You should try to maximise the number of Rook(s) you control (moderate importance)


Board Setup:




Game Endings:

Game won by no one.

The moving player cannot move or Counter is equal to 99


Game won by Player 1.

King of the next player is threatened and not can move move one of your pieces



Moves:

Piece: Bishop

Move: Slide from the location of the piece in the diagonal direction through the set of empty cells





Piece: King

Move: If there is an enemy Player at to, remove pieces at to then set the current counter of the game to -1 then step adjacent then if State at the to location of the last move is equal to 1, set the state of the Cell the to location of the last move to 0









Move: Slide from King of current moving player in the east direction through empty and not King of the moving player is threatened then slide from RookRight of current moving player in the west direction through true



Piece: Knight

Move: Leap a piece to not is a friend





Piece: Pawn

Move: A piece of the moving player the to location of the last move, this piece can promote into Queen, Knight, Bishop or Rook



Move: Remove pieces at to then step forward-right or forward-left



Move: Slide from the location of the piece in the forward direction through empty then set the site the Cell 1 steps ahead of the to location of the last move in the direction backward to pending



Move: Step forward





Piece: Queen

Move: Slide from the location of the piece in the adjacent direction through the set of empty cells





Piece: Rook

Move: Slide from the location of the piece in the orthogonal direction through the set of empty cells then if State at the to location of the last move is equal to 1, set the state of the Cell the to location of the last move to 0