variables for game function