Fix bugs in AI method move()

includes some changes to testing gametype etc