2.1 Display number of dots for a given number of cards

Block-based solution

View solution

This is just one of many possible solutions:

whenclickedsetnumber of dotsto1askHow many cards would you like to display?andwaitsetnumber of cardstoanswerrepeatnumberofcardssaynumberofdotsfor1secssetnumber of dotstonumberofdots*2

Back to programming challenge