revisiting old game to practice new JS