A simple chess game using the minimax algorithm