You are provided with JavaScript resources for making networked projects on the Glitch.com platform for web application development. Our friend Char Stiles, has created an account on Glitch, and (using socket.io and p5.js) she has also made a number of helpful “starter” projects for you:
- Simple Shared Drawing Canvas: app • code (a live shared drawing canvas)
- Shared Drawing Canvas, with Persistence: app • code (online drawings stored in database)
- Simple Text Chatroom: app • code (live shared text)
- Simple Agar.io Game: app • code (live shared coordinates)
- Bare socket.io demo: code()
- Persistent high score: app • code (online storage of a number)
You can embed your projects in this WordPress blog, using an iFrame. Here’s an example of what that HTML might look like (in the WordPress “Text” editing mode):
or better,
Here you can see one of Charlotte’s demos, a simplified Agar.io clone, embedded below: