added __future__ for python3 style print
fixed python2 player.move issue by using isinstance not type()