I made my first snake game

Off topicProgramming → I made my first snake game

I made it in javascript, with the p5.js library. If you wanna try it, I recommend you download the p5 editor, that way you don’t have to worry about linking the libraries and the HTML together, it does that for you. You can download the editor here: http://p5js.org/download/ After you launch the editor, delete the stuff that’s already in it and paste in this code: http://pastebin.com/YBa8Q4JB I worked on it for about one month.

Why not just provide a zipfile to dl instead of givin build instructions? It should still be only html/js/css, right? Or why mot put it onto some random website? ._.

Greetings

~Pepich~

@LogalCoder I was thinking about doing something like this, but the p5 library isn’t available there. @Pepich1851 I don’t know how to make zip files, I am nub. And it’s not pure JS, it uses the p5 library. (because idk how to make stuff in pure JS ._.)
Well that library is js as well. Like jQuery. Or skeleton. All that stuff breaks down to html/js/css…
@LogalGamer hmm ok I can try that.

@LogalCoder @Pepich1851 So I finally got around uploading an online version, so here it is: https://jsfiddle.net/Tsskyx/mkj4expa/

I have a profile on jsfiddle now, so I will probably be putting more stuff in there later on.

At the end, I didn’t jam everything into the JS window, I simply linked to an online available p5 library in the HTML part :p