Source

RockPaperScissors / RockPaperScissors.Specs /

Filename Size Date modified Message
..
Properties
References
1.5 KB
311 B
2.7 KB
1. At first I wrote "when_playing_single_game" It should_output_Ben_as_winner
but this was too high level.  I needed to actually spec the rules of r/p/s first.
2. So I wrote "when_playing_a_round" which forced me to introduce the concept of a round.
3. Which led me to create the RockPaperScissors object.