Preview: https://samprity.github.io/castles/
You can add different heights by clicking the buttons. Clicking on Build castles shows the number of castles that can be built. Using clear you can refresh and play again.
- Heights are considered between 1 -10 and as numbers
- We can build at the beginning of the array