Skip to content

CorporateActionMan/DiamondKata

Repository files navigation

DiamondKata

Repository to solve the Diamond Kata

Instructions

  1. Watch the videos:
  2. Clone this repository
  3. Open up the .Net solution in the IDE of your choice. The following IDEs have been tested:
    • Rider 2023.1.2
    • Visual studio 2022 Community Edition
  4. Build the Code
  5. Run the tests
    • via the IDE
    • via the CLI from the repo's root directory dotnet test
  6. Choose how you are going to run the application:
    • Console App via IDE
    • Console App via shell

Run via shell

Issue the following command:

dotnet Diamond.Console.dll --help

Sample command that will render starting from the letter 'O' to the diamond's apex at X with the '%' char as the spacing character

dotnet Diamond.Console.dll -l -i O -s '%' -t X

Things to consider

  • Create an interface and implementations of other Diamond Katas, then create a Test with an extremely large diamond to bench mark the implementations against each other
  • Create a Json Writer so it can be consumed by a Web Api

About

Repository to solve the Diamond Kata

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published