Skip to content

Instantly share code, notes, and snippets.

@gregmalcolm
Created February 15, 2012 22:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gregmalcolm/1839740 to your computer and use it in GitHub Desktop.
Save gregmalcolm/1839740 to your computer and use it in GitHub Desktop.
Urinal Kata Rules
Rule 1: Get as far away from the door as possible
Rule 2: Never stand next to another dude
Rule 2, Exception 1: There is a line at the door
Rule 2, Exception 2: Someone else has already broken Rule 2
Rule 3: Never stand next to two other dudes
Extra Credit: No Pairing
Javascript skeleton:
https://github.com/guyroyse/javascript-skeleton
Coffeescript skeleton:
https://github.com/guyroyse/coffee-script-skeleton
Courtesy of Mel Grubb:
http://melgrubb.wordpress.com/2012/01/16/urinal-code-kata/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment