Word on the street is that you claim to be a safe-cracking jewel thief. But are you?
Let's test your safe-cracking abilities. To prove you are a real thief, you need to crack the combination of the safe, then open it and tell me the value of the jewels inside!
safe object has two methods:
unlock(combination) returns a string.
click means the first part of the combination is correct,
click click for the first two parts,
click click click means all three are correct.
open() returns an integer containing the value of the safe's contents.
The safe combination format is made up of 3 dial spins:
- Spin the dial left
- Numbers on the dial
00 - 99
- Each part of the combination is separated by
Let's see how well you know how to crack safes. Good luck!
Want to propose a challenge idea for a future post? Email firstname.lastname@example.org with your suggestions!