Prevent AI move if the game is over
Transfer line and winner logic to Board class
Remove winning logic, refactor move logic