Refactored how games are checked for wins, and speed up AI to half a second.

- Renamed AIPlayer to AiPlayer based on coding guidelines.