A code kata of a mini-game