Code example for my HTML5 Games Dev video course