SlideShare a Scribd company logo
1 of 9
Download to read offline
Agile Wednesday
Coding Dojo
12. März 2014
The Setting
4 Notebooks
up to 8 Developers
15 Minutes-Sprints
TDD, Pair Programming
After every Sprint: Rotation
TDD Cycle
Write a test
Test fails
Write code, so
that test passes
(not more!)
Refactoring
(Test still
passes)
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!
Rules
Participate!
Respect each other!
Be optimistic!
Dare to fail!
Learning is more important than finishing!
Have fun!
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.
The Yahtzee Kata
The 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.
Scoring Examples
Ones, 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
Want more?
@agileWH
facebook.com/agilewh
+AgileWH
softwerkskammer.org/groups/hannover
powered by and

More Related Content

Similar to Agile Wednesday Coding Dojo am 12.03.2014

Math in Art (gaming)
Math in Art (gaming)Math in Art (gaming)
Math in Art (gaming)SPetTeacher
 
Kata Your Way to SW Craftsmanship
Kata Your Way to SW CraftsmanshipKata Your Way to SW Craftsmanship
Kata Your Way to SW CraftsmanshipCamille Bell
 
Coderetreat - Practice to Master Your Crafts
Coderetreat - Practice to Master Your CraftsCoderetreat - Practice to Master Your Crafts
Coderetreat - Practice to Master Your CraftsLemi Orhan Ergin
 
Fundamentals of Game Design
Fundamentals of Game DesignFundamentals of Game Design
Fundamentals of Game DesignSeth Sivak
 
2013 09-11 java zone - extreme programming live
2013 09-11 java zone - extreme programming live2013 09-11 java zone - extreme programming live
2013 09-11 java zone - extreme programming liveJohannes Brodwall
 
Test Driving Legacy Code Mini Workshop
Test Driving Legacy Code Mini WorkshopTest Driving Legacy Code Mini Workshop
Test Driving Legacy Code Mini WorkshopFernando Cuenca
 

Similar to Agile Wednesday Coding Dojo am 12.03.2014 (8)

Code retreat june24th
Code retreat june24thCode retreat june24th
Code retreat june24th
 
Gamification Journey
Gamification JourneyGamification Journey
Gamification Journey
 
Math in Art (gaming)
Math in Art (gaming)Math in Art (gaming)
Math in Art (gaming)
 
Kata Your Way to SW Craftsmanship
Kata Your Way to SW CraftsmanshipKata Your Way to SW Craftsmanship
Kata Your Way to SW Craftsmanship
 
Coderetreat - Practice to Master Your Crafts
Coderetreat - Practice to Master Your CraftsCoderetreat - Practice to Master Your Crafts
Coderetreat - Practice to Master Your Crafts
 
Fundamentals of Game Design
Fundamentals of Game DesignFundamentals of Game Design
Fundamentals of Game Design
 
2013 09-11 java zone - extreme programming live
2013 09-11 java zone - extreme programming live2013 09-11 java zone - extreme programming live
2013 09-11 java zone - extreme programming live
 
Test Driving Legacy Code Mini Workshop
Test Driving Legacy Code Mini WorkshopTest Driving Legacy Code Mini Workshop
Test Driving Legacy Code Mini Workshop
 

Recently uploaded

Module-2-Lesson-2-COMMUNICATION-AIDS-AND-STRATEGIES-USING-TOOLS-OF-TECHNOLOGY...
Module-2-Lesson-2-COMMUNICATION-AIDS-AND-STRATEGIES-USING-TOOLS-OF-TECHNOLOGY...Module-2-Lesson-2-COMMUNICATION-AIDS-AND-STRATEGIES-USING-TOOLS-OF-TECHNOLOGY...
Module-2-Lesson-2-COMMUNICATION-AIDS-AND-STRATEGIES-USING-TOOLS-OF-TECHNOLOGY...JeylaisaManabat1
 
(南达科他州立大学毕业证学位证成绩单-永久存档)
(南达科他州立大学毕业证学位证成绩单-永久存档)(南达科他州立大学毕业证学位证成绩单-永久存档)
(南达科他州立大学毕业证学位证成绩单-永久存档)oannq
 
南新罕布什尔大学毕业证学位证成绩单-学历认证
南新罕布什尔大学毕业证学位证成绩单-学历认证南新罕布什尔大学毕业证学位证成绩单-学历认证
南新罕布什尔大学毕业证学位证成绩单-学历认证kbdhl05e
 
Inspiring Through Words Power of Inspiration.pptx
Inspiring Through Words Power of Inspiration.pptxInspiring Through Words Power of Inspiration.pptx
Inspiring Through Words Power of Inspiration.pptxShubham Rawat
 
Authentic No 1 Amil Baba In Pakistan Amil Baba In Faisalabad Amil Baba In Kar...
Authentic No 1 Amil Baba In Pakistan Amil Baba In Faisalabad Amil Baba In Kar...Authentic No 1 Amil Baba In Pakistan Amil Baba In Faisalabad Amil Baba In Kar...
Authentic No 1 Amil Baba In Pakistan Amil Baba In Faisalabad Amil Baba In Kar...Authentic No 1 Amil Baba In Pakistan
 
E J Waggoner against Kellogg's Pantheism 8.pptx
E J Waggoner against Kellogg's Pantheism 8.pptxE J Waggoner against Kellogg's Pantheism 8.pptx
E J Waggoner against Kellogg's Pantheism 8.pptxJackieSparrow3
 

Recently uploaded (6)

Module-2-Lesson-2-COMMUNICATION-AIDS-AND-STRATEGIES-USING-TOOLS-OF-TECHNOLOGY...
Module-2-Lesson-2-COMMUNICATION-AIDS-AND-STRATEGIES-USING-TOOLS-OF-TECHNOLOGY...Module-2-Lesson-2-COMMUNICATION-AIDS-AND-STRATEGIES-USING-TOOLS-OF-TECHNOLOGY...
Module-2-Lesson-2-COMMUNICATION-AIDS-AND-STRATEGIES-USING-TOOLS-OF-TECHNOLOGY...
 
(南达科他州立大学毕业证学位证成绩单-永久存档)
(南达科他州立大学毕业证学位证成绩单-永久存档)(南达科他州立大学毕业证学位证成绩单-永久存档)
(南达科他州立大学毕业证学位证成绩单-永久存档)
 
南新罕布什尔大学毕业证学位证成绩单-学历认证
南新罕布什尔大学毕业证学位证成绩单-学历认证南新罕布什尔大学毕业证学位证成绩单-学历认证
南新罕布什尔大学毕业证学位证成绩单-学历认证
 
Inspiring Through Words Power of Inspiration.pptx
Inspiring Through Words Power of Inspiration.pptxInspiring Through Words Power of Inspiration.pptx
Inspiring Through Words Power of Inspiration.pptx
 
Authentic No 1 Amil Baba In Pakistan Amil Baba In Faisalabad Amil Baba In Kar...
Authentic No 1 Amil Baba In Pakistan Amil Baba In Faisalabad Amil Baba In Kar...Authentic No 1 Amil Baba In Pakistan Amil Baba In Faisalabad Amil Baba In Kar...
Authentic No 1 Amil Baba In Pakistan Amil Baba In Faisalabad Amil Baba In Kar...
 
E J Waggoner against Kellogg's Pantheism 8.pptx
E J Waggoner against Kellogg's Pantheism 8.pptxE J Waggoner against Kellogg's Pantheism 8.pptx
E J Waggoner against Kellogg's Pantheism 8.pptx
 

Agile Wednesday Coding Dojo am 12.03.2014

  • 2. The Setting 4 Notebooks up to 8 Developers 15 Minutes-Sprints TDD, Pair Programming After every Sprint: Rotation
  • 3. TDD Cycle Write a test Test fails Write code, so that test passes (not more!) Refactoring (Test still passes)
  • 4. 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!
  • 5. Rules Participate! Respect each other! Be optimistic! Dare to fail! Learning is more important than finishing! Have fun!
  • 6. 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.
  • 7. The Yahtzee Kata The 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.
  • 8. Scoring Examples Ones, 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