Prototype for a canvas game