Pair Ping-Ponging

Stay Updated: Posts | Comments   Follow us on Twitter

Timing: 1+ hours


  • IDE + Unit Testing tool
  • Timer


Programmer 1 writes a test and challenges Programmer 2 to make it pass. Programmer 2 attempts to make it pass in as short of time as possible and then writes another test to try to stump Programmer 1. This test could be to fill any gaps that were exploited in the previous test, or to test another part of the system. This continues until all features have been implemented. A winner can be chosen based on total time taken to make tests pass. After each test passes, both programmers collaborate to refactor the solution. This time does not count towards the final score.

Learning Points:

  • This game highlights the essence of Test-Driven Development, by only writing code for failing tests.
  • Programmers end up producing the simplest solution that works. They then must have the discipline to refactor the solution when code-smells emerge.
VN:F [1.9.16_1159]
Rate This
Rating: 3.5/5 (2 votes cast)
Pair Ping-Ponging, 3.5 out of 5 based on 2 ratings
Print Friendly
No comments currently exist for this post.
Leave a Reply:

Spam Protection by WP-SpamFree


Discuss Comments
Agile Games Group