gameInit with heap varibles