ddd-sample-in-golang
ddd-sample-in-golang copied to clipboard
DDD sample
cargo
DDD sample with OO
counting shapes
DDD sample with FP
![](https://github.com/agiledragon/ddd-sample-in-golang/raw/master/shapes.png)
The first game:
How many triangles can you see? <Br/>24, details as follows:<Br/>[abc abd abe acd ace ade aef aeg aeh afg afh agh ahi ahj ahk aij aik ajk beh ceg def ehk fhj ghi]
The second game:
How many quadrangles can you see?<Br/>18, details as follows:<Br/>[aceh adeg adeh afhk aghj aghk bcgh bcih bdfh bdjh bekh cdfg cdji ceki dekj efjk egik fgij]