Finish chess
Refactor game loop
Checkmate works, stalemate works, pawn promotion works.