Suppose we simulate the game of chess with a Turing machine $M$ as follows:
The semi-infinite input tape of $M$ contains a sequence of symbols beginning in the first cell of the tape. Each symbol prescribes a possible chess move, i.e., an ordered pair of board positions, e.g., (a3, d5), indicating that the piece in the first position is to be moved to the second position. Thus, there are 64 x 64 such symbols. Note that not all moves would be valid or possible to carry out. Also, there is no explicit indication that there are two players making alternate moves.
Starting with the first cell of the input tape the machine $M$ reads the current symbol and does one of the following:
(1) If the move is possible to carry out, yet not a winning move, $M$ changes its internal state to one designating the new board configuration and any historical information it needs to record about the game (for castling, say) and moves to the next input symbol in the sequence.
(2) If the move is possible to carry out and it is a checkmate, $M$ halts (in "Win" state.)
(3) If the move is possible to carry out and it is a stalemate, $M$ halts (in "Draw" state.)
(4) If the move is invalid or impossible to carry out, $M$ halts (in "Invalid" state.)
Which complexity class does $M$ belong to?