replace movecounter with xcount and ocount, improve cats game logic