First JS Iteration of "Gold Game"