Poop in
the Toilet

a mock up of a laptop displaying a webpage

Outline

For this project I created a simple points based game with falling objects that the player can click on (or avoid clicking on) to stop the toilet from clogging and win the game. This was an in-depth introduction to the power of Javascript and lesson in character development and story telling. The object of the game is to gain points by clicking on objects that shouldn’t be allowed to fall into the toilet, and avoiding clicking on the pee and poop characters which definitely belong there. I had imagined this as a game for parent to play with their young kids who are potty trining as a fun way to open the dialogue of graduating form nappies to the potty.

Details

Ready player poo

The game play is simple enough for younger kids to play on a touch screen and for older kids to play on a touch pad or with a mouse. They player must click on the right characters as they fall to gain enough points before the timer runs out. Also they have to be careful not to click on the wrong charcters, else they’ll run out toilet paper lives and make a big mess!

Assets

The game has 7 characters including the hungry toilet. Each character has a happy state and and a sad state and changes states when they reach the end of their journey depending or whether they were clicked on or not. The characters are designed to be very child friendly, bright colours big wide eyes and a little bit of humour.

Javascript functions

The game is written in javascript and it was the first time I was exposed to this language. Each sprite has an event listener to change into their happy or sad state when clicked or left un-clicked, and there is a countdown timer made with a css animation and a lives counter which counts down from three if mistakes are made. There are also hidden winning, loosing and instruction screens that revealed on user interaction.