removed minimax/ai logic out of game into AI class