lockpick
Little lockpick game
Sharedunrated
Content
19 lines{=(error):Enter a key configuration consisting of 1's and 0's. 1's represent the key's bumps (╩) that must push the lock's moveable pins to an up position (╩), and 0's represent the key's flats (═) which must not touch the lock's static pins (╬). If the key has a bump out of place or if the lock has a pin that isn't being pushed up, the key will not turn the lock. 1 in 16 chance of matching the lock each time. A correct key will look like it can fit in the "gaps" in the lock:
⠀⠀⠀⠀██████
╭▄╮█╬╩╩╬██
██═══╩╩═▐█▌
╰▀╯██████
Example: `!lockpick 0110` or `!lockpick 0 1 1 0`}
{break({in(%3A):{urlencode:{args}}}==true):{error}}
{=(p):0 1}
{=(n):#:{join(,):{p}}}
{=(solution): {{n}} {{n}} {{n}} {{n}} }
{=(solutionappearance):{replace(0,╬):{replace(1,╩):{join():{solution(+5)}}}}}
{=(attempt):{replace(, ):{join():{args(+4)}}}}
{break({any({contains({attempt(2)}):{p}}==false|{contains({attempt(3)}):{p}}==false|{contains({attempt(4)}):{p}}==false|{contains({attempt(5)}):{p}}==false):true|false}==true):{error}}
{=(attemptappearance):{replace(0,═):{replace(1,╩):{join():{attempt(+5)}}}}}
⠀⠀⠀⠀██████
╭▄╮█{solutionappearance}██
██══{attemptappearance}▐█▌
╰▀╯██████
{if({attempt(+5)}=={solution(+5)}):You did it, the safe is open!|Better luck next time.}Raw JSON
{
"id": 88862,
"created_at": "2019-11-14T01:51:45.000Z",
"tag_name": "lockpick",
"nsfw": false,
"owner_id": "129419437911572480",
"uses": 104,
"description": "Little lockpick game",
"restricted": false,
"shared": true,
"deleted": false,
"safe": "unrated",
"hidden": false,
"guild_id": "632187193162465281",
"sharer": "129419437911572480",
"content": "{=(error):Enter a key configuration consisting of 1's and 0's. 1's represent the key's bumps (╩) that must push the lock's moveable pins to an up position (╩), and 0's represent the key's flats (═) which must not touch the lock's static pins (╬). If the key has a bump out of place or if the lock has a pin that isn't being pushed up, the key will not turn the lock. 1 in 16 chance of matching the lock each time. A correct key will look like it can fit in the \"gaps\" in the lock:\n⠀⠀⠀⠀██████\n╭▄╮█╬╩╩╬██\n ██═══╩╩═▐█▌\n╰▀╯██████\nExample: `!lockpick 0110` or `!lockpick 0 1 1 0`}\n{break({in(%3A):{urlencode:{args}}}==true):{error}}\n{=(p):0 1}\n{=(n):#:{join(,):{p}}}\n{=(solution): {{n}} {{n}} {{n}} {{n}} }\n{=(solutionappearance):{replace(0,╬):{replace(1,╩):{join():{solution(+5)}}}}}\n{=(attempt):{replace(, ):{join():{args(+4)}}}}\n{break({any({contains({attempt(2)}):{p}}==false|{contains({attempt(3)}):{p}}==false|{contains({attempt(4)}):{p}}==false|{contains({attempt(5)}):{p}}==false):true|false}==true):{error}}\n{=(attemptappearance):{replace(0,═):{replace(1,╩):{join():{attempt(+5)}}}}}\n⠀⠀⠀⠀██████\n╭▄╮█{solutionappearance}██\n ██══{attemptappearance}▐█▌\n╰▀╯██████\n{if({attempt(+5)}=={solution(+5)}):You did it, the safe is open!|Better luck next time.}",
"embed": "{}",
"last_fetched": "2026-10-20T20:42:40.841Z"
}