This is a Micro Club challenge. The goal is to crack a password by navigating between an 2D array of digits:
1 | 2 | 3 |
4 | 5 | 6 |
7 | 8 | 9 |
The navigation is set by reading a file that contains many lines of strings, each string contains random 'U', 'D', 'R', 'L' combinations.
- 'U' for Up
- 'D' for Down
- 'R' for Right
- 'L' for Left
The cracked password represents a drawer's lock
Clone this repo to your host
git clone git https://github.com/hamza-hadj-aissa/mc-crack-the-password.git
Navigate to project directory
cd mc-crack-the-password
Run the code
node main.js
And here's the drawer's password