Homework 6 - Enigma Box
Update – Fixing access to
lldbandclangUPDATE: To fix access to
lldbandclangand have them automatically available when ssh-ing to the portal nodes, please follow the steps below. You will only need to do this once!
- Connect to the portal nodes using ssh. (Be sure that you are in your home directory.)
- Open the hidden file
.bashrcin a text editor:vim .bashrcornano .bashrc.- Find the line that starts
PATH=, which lists a few paths and ends with/p/cso1/bin. Replace that entire line with the following:PATH=$PATH:/p/cso1/bin- Save the file and exit the text editor.
- Log out of the portal and connect back in using ssh.
If all went well, at this point you should be able to run
lldband/orclangwith no problems.
Work alone
Do not share solutions for your enigma box or parts thereof with students or any other non-course-staff person.
You may discuss strategies and code patterns, but not specifics.
Task and Grading
You’ll use the same enigma box you did for lab this week. If you worked with someone else in lab, you can get your own enigma box by running the script from lab on your own.
Credit will be awarded as follows:
| Grade | Criteria |
|---|---|
| 80% | 2 locks solved |
| 95% | 3 locks solved |
| 98% | 4 locks solved |
| +1% | each additional lock solved (including extra credit if you solve more than 6 locks) |
If you have more than 20 buzzes overall, we will remove points.
There is no submission needed besides running your enigma box and typing the correct inputs to solve (and unlock) each of the locks. As you solve each lock (or miss and cause a buzz), your box will update the scoreboard, which will be used to populate the gradebook after the homework closes.