Skip to content
No description, website, or topics provided.
Clojure
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
doc
src/diamond
test/diamond
.gitignore
LICENSE
README.md
project.clj

README.md

Diamond Kata

My implementation of the diamond kata using TDD and Clojure.

A detailed explanation about this solution can be found here.

Usage

Running:

(print-diamond "F")

Produces

-----A-----
----B-B----
---C---C---
--D-----D--
-E-------E-
F---------F
-E-------E-
--D-----D--
---C---C---
----B-B----
-----A-----
You can’t perform that action at this time.