I tried following along with your video and got this error early on:
scripts.js:10
Uncaught TypeError: Failed to execute 'appendChild' on 'Node': parameter 1 is not of type 'Node'.
Then I tried copying your files and got this error after about a second of game play on every refresh:
index.html:133
Uncaught SecurityError: Failed to execute 'getImageData' on 'CanvasRenderingContext2D': The canvas has been tainted by cross-origin data.
I'm using chrome on a pc. Thanks for the awesome tutorial!
I tried following along with your video and got this error early on:
scripts.js:10
Uncaught TypeError: Failed to execute 'appendChild' on 'Node': parameter 1 is not of type 'Node'.
Then I tried copying your files and got this error after about a second of game play on every refresh:
index.html:133
Uncaught SecurityError: Failed to execute 'getImageData' on 'CanvasRenderingContext2D': The canvas has been tainted by cross-origin data.
I'm using chrome on a pc. Thanks for the awesome tutorial!