fixed race condition with AI - caused by initialising the board AFTER starting the game