Skip to content

Latest commit

 

History

History
31 lines (26 loc) · 1.18 KB

README.md

File metadata and controls

31 lines (26 loc) · 1.18 KB

Pair Programming Shiz

Links

The Pair Programming "Game"

2 "Players" alternate rolls "Fry" and "Zoidberg"

  1. Fry Makes the simplest test that can possibly fail
  • Usually using "AAA Testing": Arrange, Act, Assert
  1. Zoidberg makes the test pass in the simplest way possible (by being adversarial)
  • a heuristic for "Simplest" is the Transformation Priority Premise
  1. Zoidberg makes the next simplest test that can possibly fail
  2. Fry makes the test pass in the simplest way possible (by being adversarial)
  3. Repeat until completed

Example game using Gin Rummy "Melds"

Rules of Gin Rummy

  • who cares? We're dealing with a subset

Gin Rummy valid "Melds"

  • three or four cards sharing the same rank, e.g. 8♥ 8♦
  • sequences of three or more cards in the same suit, such as 3♥ 4♥ 5♥ or more Les do it!