Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tpierrain/diamondkata
(kata) My take on the diamond kata.
https://github.com/tpierrain/diamondkata
Last synced: about 5 hours ago
JSON representation
(kata) My take on the diamond kata.
- Host: GitHub
- URL: https://github.com/tpierrain/diamondkata
- Owner: tpierrain
- Created: 2015-04-18T20:10:30.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-04-19T10:10:42.000Z (over 9 years ago)
- Last Synced: 2023-04-03T14:07:13.116Z (over 1 year ago)
- Language: C#
- Homepage:
- Size: 602 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
Diamond Kata
-------------(this description is copied from http://cyber-dojo.org)
Given a letter print a diamond starting with 'A'
with the supplied letter at the widest point.For example: print-diamond 'E' prints
...A 0
..B.B 1
.C...C 3
.D.....D 5
E.......E 7
D D
C C
B B
AFor example: print-diamond 'C' prints
A
B B
C C
B B
A