removed var declaration for proximity in new-game function