News for hackers. Stuff that matters.
Re:An Oral History of ‘Snake’ on Nokia by fit2rule on Friday September 13, 2019 @07:51AM (#20961231)
Want some fun? Play Breakout and Snake at the same time! :)

First, take the Breakout code from here:

http://labs.phaser.io/edit.html?src=src\games\breakout\break...

And paste it into the Snake game here:

http://labs.phaser.io/edit.html?src=src\games\snake\part7.js

I discovered this trick when I introduced a classroom full of kids to PhaserIO, and happened to notice an 8-year old playing both games simultaneously .. I asked him how, and he said "I just copied the game code together" .. NEAT! :)

There are no comments on this comment yet.