diamond_kata.cr
Diamond Kata (Crystal Language)
Given a letter, print a diamond starting with ‘A’ with the supplied letter at the widest point.
For example: print-diamond ‘C’ prints:
$ print-diamond C
A
B B
C C
B B
A
Development
After cloning this repository, use:
shards install
to install dependencies,crystal spec
to run test suite.
Contributing
- Fork it ( https://github.com/waterlink/diamond_kata.cr/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
Contributors
- waterlink Oleksii Fedorov - creator, maintainer
Repository
diamond_kata.cr
Owner
Statistic
- 0
- 0
- 0
- 0
- 2
- over 8 years ago
- March 29, 2016
License
MIT License
Links
Synced at
Thu, 07 Nov 2024 04:19:29 GMT
Languages