Password Box

Create a program that locks a treasure box with a password!

Try the project out on the right!
Challenge Info
  1. Green Flag Pressed: Ask player to create a new password for the box. 
  2. Box Clicked: Ask player for the password.
  3. If they type the correct password, show the treasure cake.
  4. else  “Say Incorrect Password”

Extra Challenges

  1. Only give the user 3 attempts to type the password.  If they go over 3 attempts, delete the box. 
  2. When the password is created, make sure it is 10 letters long.  
  3. Add a new sprite, if you click it, change the password. 
  4. Create a game with a password puzzle!
  5. Code your own ideas!