My old project of an attempt on Google's Dinosaur Game. You'll learn how to play it by… playing it (duh).
Scratch for all the sprites. Google for the easter egg. Me for the code.