agile wednesday coding dojo am 12.03.2014
Post on 19-Oct-2014
730 views
DESCRIPTION
Am 12.03. trafen wir uns auf der CeBIT in Halle 6 auf dem Edelstall-Stand zum Coding-Dojo. Wir nahmen uns das Spiel Yahtzee als Übungsaufgabe vor, um testgetrieben im Pairprogramming mit 3 Teams eine Software zu implementieren, die zu einem Wurf die Wertungen entsprechend den Yahtzee-Regeln vornimmt. Hier findet Ihr die Folien, die wir zur Einführung gezeigt haben.TRANSCRIPT
![Page 1: Agile Wednesday Coding Dojo am 12.03.2014](https://reader034.vdocuments.site/reader034/viewer/2022051608/54442675afaf9f9c098b4700/html5/thumbnails/1.jpg)
Agile WednesdayCoding Dojo 12. März 2014
![Page 2: Agile Wednesday Coding Dojo am 12.03.2014](https://reader034.vdocuments.site/reader034/viewer/2022051608/54442675afaf9f9c098b4700/html5/thumbnails/2.jpg)
The Setting
4 Notebooks
up to 8 Developers
15 Minutes-Sprints
TDD, Pair Programming
After every Sprint: Rotation
![Page 3: Agile Wednesday Coding Dojo am 12.03.2014](https://reader034.vdocuments.site/reader034/viewer/2022051608/54442675afaf9f9c098b4700/html5/thumbnails/3.jpg)
TDD CycleWrite a test
Test fails
Write code, so that test passes
(not more!)
Refactoring (Test still passes)
![Page 4: Agile Wednesday Coding Dojo am 12.03.2014](https://reader034.vdocuments.site/reader034/viewer/2022051608/54442675afaf9f9c098b4700/html5/thumbnails/4.jpg)
Pair Programming
Owner of the keyboard
Writes the tests
Writes the code
Focuses on the target
Guides the driver
Proposes next tests
Driver Navigator
Switch roles between sprints!
![Page 5: Agile Wednesday Coding Dojo am 12.03.2014](https://reader034.vdocuments.site/reader034/viewer/2022051608/54442675afaf9f9c098b4700/html5/thumbnails/5.jpg)
RulesParticipate!
Respect each other!
Be optimistic!
Dare to fail!
Learning is more important than finishing!
Have fun!
![Page 6: Agile Wednesday Coding Dojo am 12.03.2014](https://reader034.vdocuments.site/reader034/viewer/2022051608/54442675afaf9f9c098b4700/html5/thumbnails/6.jpg)
The Dojo
Today, we focus on writing readable and maintainable code
We validate our objective by rotating every 15 minutes, so that everybody has to understand and continue working on the code of another team.
![Page 7: Agile Wednesday Coding Dojo am 12.03.2014](https://reader034.vdocuments.site/reader034/viewer/2022051608/54442675afaf9f9c098b4700/html5/thumbnails/7.jpg)
The Yahtzee KataThe game of yahtzee is a simple dice game. Each round, each player rolls five six sided dice. The player may choose to reroll some or all of the dice up to three times (including the original roll). The player then places the roll at a category, such as ones, twos, sixes, full house etc. If the roll is compatible with the score, the player gets a score for this roll according to the rules. If the roll is not compatible, the player gets a score of zero for this roll.
The kata consists of creating the rules to score a roll in any of a predefined category. Given a roll and a category, the final solution should output the score for this roll placed in this category.
![Page 8: Agile Wednesday Coding Dojo am 12.03.2014](https://reader034.vdocuments.site/reader034/viewer/2022051608/54442675afaf9f9c098b4700/html5/thumbnails/8.jpg)
Scoring ExamplesOnes, Twos, Threes, Fours, …
Three of a kind
Four of a kind
Small straight
Large straight
Full house
Yahtzee
Chance
3, 2 or 4 points
19 points
17 points
30 points
40 points
25 points
50 points
18 points
![Page 9: Agile Wednesday Coding Dojo am 12.03.2014](https://reader034.vdocuments.site/reader034/viewer/2022051608/54442675afaf9f9c098b4700/html5/thumbnails/9.jpg)
Want more?@agileWH
facebook.com/agilewh
+AgileWH
softwerkskammer.org/groups/hannover
powered by and