refactor magic-nr. to instance var. in gameFrame