Upcoming SlideShare
×

# Coding Dojo: Tic-Tac-Toe (2014)

1,264

Published on

Published in: Technology
0 Likes
Statistics
Notes
• Full Name
Comment goes here.

Are you sure you want to Yes No
• Be the first to comment

• Be the first to like this

Views
Total Views
1,264
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
15
0
Likes
0
Embeds 0
No embeds

No notes for slide

### Coding Dojo: Tic-Tac-Toe (2014)

1. 1. Coding Dojo: Tic-Tac-Toe March 2014 Peter Kofler, ‘Code Cop’ @codecopkofler www.code-cop.org Copyright Peter Kofler, licensed under CC-BY.
2. 2. Peter Kofler • Ph.D. (Appl. Math.) • Professional Software Developer for 14 years • “fanatic about code quality” • I help development teams PETER KOFLER, CODE-COP.ORG FANATIC ABOUT CODE QUALITY
3. 3. Coding Dojo? Expectations?
4. 4. Coding Dojo Mindset ● Safe place outside work ● We are here to learn ● Need to slow down ● Focus on doing it right ● Collaborative Game PETER KOFLER, CODE-COP.ORG FANATIC ABOUT CODE QUALITY
5. 5. Dojo Structure ● Introduction 15' ● Coding 45' ● Interim (Retrospective) 15' ● Break 20' ● Coding 45' ● Retrospective 30' PETER KOFLER, CODE-COP.ORG FANATIC ABOUT CODE QUALITY
6. 6. The Exercise: Tic-Tac-Toe PETER KOFLER, CODE-COP.ORG FANATIC ABOUT CODE QUALITY
7. 7. Tic-Tac-Toe ● http://en.wikipedia.org/wiki/Tic-tac-toe ● Board 3x3 ● X plays first, O plays second ● Check who/if is winner after moves PETER KOFLER, CODE-COP.ORG FANATIC ABOUT CODE QUALITY
8. 8. Don't Focus on Getting it Done. F0cus on Doing It Perfectly.
9. 9. →Practice
10. 10. Constraint: Ping-Pong ● A writes a test and sees that it fails. ● B writes the code needed to pass the test. ● B writes next test and sees that it fails. ● A writes the code needed to pass the test. ● And so on. PETER KOFLER, CODE-COP.ORG FANATIC ABOUT CODE QUALITY
11. 11. Closing Circle ● What did you learn today? ● What surprised you today? ● What will you do differently in the future? PETER KOFLER, CODE-COP.ORG FANATIC ABOUT CODE QUALITY
12. 12. Peter Kofler @codecopkofler www.code-cop.org PETER KOFLER, CODE-COP.ORG FANATIC ABOUT CODE QUALITY
13. 13. CC Images ● Dojo http://www.flickr.com/photos/49715404@N00/3267627038/ ● Todos http://www.flickr.com/photos/kylesteeddesign/3724074594/ ● Game http://www.flickr.com/photos/benclinch/476855843/ ● Wants you http://www.flickr.com/photos/shutter/105497713/ PETER KOFLER, CODE-COP.ORG FANATIC ABOUT CODE QUALITY
1. #### A particular slide catching your eye?

Clipping is a handy way to collect important slides you want to go back to later.