moved (and renamed) global variables to game structure (ZX/ZY)