samprity / castles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Castles

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.

Assumptions

  1. Heights are considered between 1 -10 and as numbers
  2. We can build at the beginning of the array

About


Languages

Language:HTML 50.6%Language:JavaScript 49.4%