Skip to content

Instantly share code, notes, and snippets.

@alanshaw
Last active October 27, 2015 07:45
Show Gist options
  • Save alanshaw/1156aba530612532f138 to your computer and use it in GitHub Desktop.
Save alanshaw/1156aba530612532f138 to your computer and use it in GitHub Desktop.
The JavaScript adventure

JavaScript adventure

It begins.

Your adventure starts with a HTTP GET http://...


"RAAA! I am the Lord of the conch! Hit me with your rhythm stick."

You have a piece of the conch.

"Hit me five more times, no more than once every five seconds and I'll give you more. Piece the conch together and POST what you have back to me each time."


You blow on the conch. A sound like ancient streams flowing is emitted. The Lord of the conch looked on and a new websocket awoke at ws://192.168.0.138:1138. Connect to the socket to find out more.


"Whysssss it awaken socket sssso rudely? Whaaatsss it wantsss?" The websocket hissed... Startled, you send:

  • "Oops, sorry socket! I just wanted to learn the nodes!"
  • "I want your secrets!"
  • "Die socket die!!!"

A Meteor comes into orbit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment