Program that simulates chess game.