
Like many that use pair programming, the teams I work on often use pair stairs to track who pairs with whom and to ensure that each member has paired with all others. We draw the stairs on the whiteboard at the start of the iteration and tick off the boxes at the end of each day to record who has paired with whom.
As a consultant helping to introduce agile practices into a company it's often my task to introduce pair stairs to a team and draw them on the board for the first time. Unfortunately, I can never remember how to draw the axes. "Alice, Bob, Chris, Dan down the y axis and then Bob, Alice... no not Alice... Dan? ... or is it Eric?... err...". Somewhat embarassing when standing in front of the team, to say nothing of the project manager, customer, customer's boss, program manager, etc. Therefore, being a computer programmer, I decided to solve the problem with automation.
So, with no further ado, I present "Stair Master", a pair-stairs drawing program.
Type the names or initials of your team members into the input box, separated by commas. The app will build the pair-stairs in the rest of the page. When the page is printed, the input box will not be shown, so you can print from the browser and stick the resulting document on your team's whiteboard.
Stair Master updates the browser's URL field to link to the pair stairs. You can copy this link into your project's wiki for future convenience.
Warning: Stair Master only works properly in Firefox and other standards-compliant browsers. I can't be bothered to spend time trying to work around all the bugs in Internet Explorer.
Update: Thanks to a tip from Michael Mahemoff Stair Master now displays the link to the pair stairs in the browser's URL field, not as part of the HTML. However, this does mean that previous links you might have saved are now invalid. Sorry.
Update: The Pair Stairs are now easier to understand and the names are sorted alphabetically.
He he. I like the idea, and it presents itself very nicely! Nice work Nat.
Posted by: Pat at July 25, 2005 9:05 PMGreat work.
Posted by: Obie at July 25, 2005 11:17 PMNice proggy. It works in IE 6 too. Even better than in FireFox. In FireFox it creates huge squares where in IE it creates flat labels (height a little more than the font height).
Posted by: Gigi at August 4, 2005 9:35 PMIt's meant to create large squares so that it's easy to put multiple ticks in each box. The pair stairs should fill the window and sheet of paper.
However, I can't get the CSS for that to work in IE and I can't be bothered to work out how to work around IE's many CSS bugs.
There may be a good reason wot I'm unaware of, but why don't you put names diagonally down in the top box of each column rather than in axes? It's a lot easier to draw and use.
Unsurprisingly the code to render it gets easier too.
+----+
| aa |
+----+----+
| | bb |
+----+----+----+
| | | cc |
+----+----+----+
Andy.
ps. How about you sorting the names.
Posted by: Andy Gray at August 12, 2005 11:04 AMThanks Andy. The names on top of the columns is a great idea.
--Nat.
Posted by: Nat at August 17, 2005 12:53 PM