Should have just upended the chess board if he was losing.
Maybe the AI had a severe anger management problem.