The IRC Drawing Bot is an Internet Relay Chat bot that you can control, allowing you to paint pixels on the canvas above.
This is not a fancy art project, it is designed to demonstrate how IRC can be used to securely control a web page. The collaborative pixel canvas is inspired from Reddit's r/place.
In order to paint your own pixels, you must join the ##jamieweb channel on Freenode IRC. Details for this are available here.
Once you are connected to the IRC server, make sure you have joined the channel ##jamieweb. If not, use the command "/join ##jamieweb". Just enter "/join ##jamieweb" into the chat input of your IRC client.
The bot is controlled using commands, all of which must be prefixed with an exclamation mark (!). All available commands are listed below:
!hello - Make sure that the bot is responding. The bot should reply with "Hello!". !help - Displays a link back to this page and the blog post for technical details. !move <x> <y> - Select a pixel coordinate. Must be an integer 1-20 for x and 1-10 for y. Example: "!move 12 4" !colour <colour> - Select a colour. Example: "!colour red" !colours - View a list of supported colours. !draw - Draws a pixel at the coordinates you selected using the colour you selected.
In order to enter a command, enter it into the chat input of your IRC client.
Once you have painted a pixel, refresh this page to see it!
I decided to have separate commands for selecting the coordinates and colour in order to allow people to either collaborate or conflict with eachother. This is similar to how it worked on r/place, however in my implementation, people can fight over where to place the pixel as well.