I made snake (also multiplayer snake) in morphic

I rushed this code out this morning, so don't expect it to look pretty. However, for the teachers, if you don't have anything to do during the latter half of class, you can use the Multi-player version of the game.

The multiplayer version: Snake

The singleplayer version: Snake

I may add more music or something as time goes on, but I am very tired at the moment. (i've been working on this since the start of today)

The singleplayer version is a tad buggy. I'll be fixing that as soon as I can.

update: singleplayer is working.

This isn’t even on snap!

it is related to it. snap was built off of jens' wonderful morphic.js, this was too.

So this is a snap application?

basically the stuff that makes snap blocks and sprites and buttons appear and look the way they are is called morphic.js, made for snap by the primary snap developer, jens, and the OP is using morphic here to create other stuff. it is allowed :)

correction: his name is jens

also, I would recommend switching this to Share your Projects because advanced topics was created for normal/newer users to kinda stay away from really advanced stuff, and while this is morphic which counts as advanced, I would think newer users should still definitely see this project.

i'm using an altered version of morphic that i made that supports multi-touch (see Hi, i did a thing (Multitouch Snap!)).

due to the way the multiplayer functionality works, i do need multitouch support.

This is cool! I like how the single-player snake looks like the very hungry caterpillar.

Next update, increase the scale. I was playing on my phone at the time and it was too small unless I increase the page zoom.


Also, here's a quick list of fruits and their rewards if you ever need to find out that easily:
:apple: Apple - 5
:tangerine: Orange - 10
:grapes: Grapes - 15
:carrot: Carrot - 20

Also found out that keyboard control is missing. Will you update this any soon?

wasd seems to be working perfectly fine for me

gotta click on the gray part for it to work.