setting up the AI withing the game