Code Katas

Code Kata is a term coined by Dave Thomas, co-author of the book The Pragmatic Programmer, in a bow to the Japanese concept of kata in the martial arts. A code kata is an exercise in programming which helps a programmer hone their skills through practice and repetition.

Arabic to Roman Numerals







Game of Life


Langton's Ant





Prime Factors





String Calculator


Uncle Bob


Visual Studio

Code Kata FizzBuzz C#

Write a program that prints the numbers from 1 to 100. But for multiples of three print "Fizz" instead of the number and for the multiples of five print "Buzz". For numbers which are multiples of both three and five print "FizzBuzz".

Game of Life Kata by Emily Bache in Python

Emily Bache walks through a prepared code kata (Conway's Game of Life) in the Python programming language. I show how to get from one empty failing test to an interesting piece of code using Test Driven Development. See also the Game of Life kata description on, and my comments about this screencast in my blog at

String Calculator in Erlang

Execution of String Calculator code kata in Erlang by Gabriele Lana from Roy Osherove's TDD Challenge

Minesweeper Code Kata

A simple minesweeper game implemented in under 14 minutes using Underscore.js, jQuery and Grid.js.

Roman Numerals Coding Kata in Ruby using CyberDojo website

CyberDojo, is a free online coding gym where you write your code and tests totally inside a web-browser! It's a great environment for learning about coding, test driven development, team dynamics, and collaboration. Twitter: @JonJagger Blog: Kata description:

Code Kata: Arabic to Roman Numerals

look here: Kata description:

Prime Factors Kata in Ruby, Flower Duet, Lakm?

A screen cast with Uncle Bob himself performing his Prime Factors Kata.

Langton's Ant in Ruby Kata

Micah Martin performs his code kata, Langton's Ant in Ruby. This is a screen cast, of Micah writing code to implement Langston's Ant, BDD style. He uses the shiny new RubyMine IDE for development, and Limelight to run the simulation.

Codebreaker - Marker

Screencast for code kata: From RSpec Book Marking a match for codebreaker post:

TDD Kata - String Calculator by Andrew Woody

Doing Test Driven Development (TDD) code Kata of a basic calculator problem. TDD is a technique where the production code is driven by writing unit tests, the technique uses the Red, Green, Refactor approach. Kata is a technqiue where the person practices something oevr and over again until it becomes second nature. Doing TDD code Kata is about the techniques of doign TDD and refactoring becoming second nature.

String Calculator TDD Kata 2 - Interactions

Second part of the String Calculator Kata introducing interaction based testing with mocks. Rules of the Kata: Blog post: Kata description:

The FizzBuzz Kata in JavaScript

Me performing the FizzBuzz Kata. Kata desciption:

+ Load more casts