I'm with Velojet, the code really isn't straightforward. it's filled
preparation code,
canvas determination,
layer and event handling code
plugin code
then the layers and event sheets
it's nothing I would recognize as standard game coding. I think the real question is what is he expecting from you. just game code or code you wrote?