A simple canvas2d 'snake' game example