Skip to main content
radbourne.net

Three code kata to hone your software craft

As an offering to the large intersection of software developers and karate fans, I wanted to shortlist my favourite code kata.

In case you’re new to the concept, code kata are small isolated challenges that help software developers practise their craft. You can think of them as your regular coding gym session.

Before starting a kata, you’ll likely want to set up a simple environment for running tests in your favourite language. I’ve created a TypeScript one in case you need it.

Without further ado…

The kata #

Mars Rover #

Develop an API using test-driven development that moves a remote-controlled vehicle around a grid.

Tic Tac Toe #

Program the rules of the famous noughts and crosses game using test-driven development.

Gilded Rose #

Write tests and refactor logic for the inventory management system of a small friendly inn.