
- By Liz Baker
- ·
- Posted 26 Apr 2023
Screenkata – Tennis in Python
Join Danish Javed and Nick Choudhry, Software Craftspeople at Codurance, as they work through our Tennis kata using Python. In this screen kata they..
This year's Global Day of Coderetreat set John Conway's Game of life as the coding exercise.
At Codurance, we often use this kata in the Codurance Academy as it is a great way to understand TDD.
In the Game of Life, you set up a two-dimensional orthogonal grid of square cells. Each cell can have one of two states: alive or dead and interacts with each of its eight neighbours (i.e. the ones that it touches either vertically, horiztonally, or diagonally adjacent to it).
Depending on the state of its neighbours, the cell may live or die using strict rules.
The idea is to set up the code then run it and observe the evolution; this is referred to as a zero-player game. Normally, the Game of Life runs as an infinite game, however, with our kata, you are designing a finite version.
Want to know more about the 2022 Coderetrate then why not read Mattsi Jansky's blog about the day.
Getting set up can be the roadblock to starting a kata. In our screenkatas you can join our Software Craftspeople and let them show you how to set up your repositories for Java, PHP, Python and Typescript. For other languages, check out our guide on GitHub.
Love our #kataday challenges? Then find them all here and don't forget that our Katalyst portal is filled with programming problems to expand and sharpen your coding skills.
Join Danish Javed and Nick Choudhry, Software Craftspeople at Codurance, as they work through our Tennis kata using Python. In this screen kata they..
With Test-Driven Design’s focus on testing (it’s all in the name), it’s easy to fall into common mistakes and bad practices which can often waste..
Join Jocelyn Facchini, Senior Software Craftsperson and developer at Codurance, as he focuses this week on the Rust language. In this screen kata he..
Join our newsletter for expert tips and inspirational case studies
Your welcome email is on its way! You can pick the emails you’d like to receive by clicking the link to the Preference Centre.
Join our newsletter for expert tips and inspirational case studies
Your welcome email is on its way! You can pick the emails you’d like to receive by clicking the link to the Preference Centre.