set up with basic AI and game loop