In this version, the goodies start at the top of the canvas, and they fall down. Of course, this motion can be in any direction, they could start on the left and move right.
This version also has a function to spawn new goodies. Randomly, new goodies are generated, and they appear at the top and fall like the initial ones.
Note that this version of the game also has code that changes the font used for the labels. If you want to paint text using custom fonts in your game, you can load them in the CSS (or using Google Fonts, like I do in this example), and see the code of this game sample for how to handle the fonts on the canvas.