use chessgame in gamecontroller and make moves for enemy player