Moved AI methods to BoardGUI class