From 43d438df208c7b2fcee6bd07231f97683ad80055 Mon Sep 17 00:00:00 2001 From: Varsos Date: Tue, 14 Mar 2017 12:44:26 -0700 Subject: [PATCH] amazing --- a-maze-ing/description.md | 1 + a-maze-ing/grader.py | 4 ++++ a-maze-ing/problem.yml | 7 +++++++ 3 files changed, 12 insertions(+) create mode 100644 a-maze-ing/description.md create mode 100644 a-maze-ing/grader.py create mode 100644 a-maze-ing/problem.yml diff --git a/a-maze-ing/description.md b/a-maze-ing/description.md new file mode 100644 index 0000000..f585a2e --- /dev/null +++ b/a-maze-ing/description.md @@ -0,0 +1 @@ +Solve a maze! 'j' is left, 'k' is down, 'l' is right, and 'i' is up. You input directions in a string. An example: "jkliilillikjk". Submit your input string as the flag. (Whoops! You don't have a maze, do you? Sucks to be you.) \ No newline at end of file diff --git a/a-maze-ing/grader.py b/a-maze-ing/grader.py new file mode 100644 index 0000000..2328177 --- /dev/null +++ b/a-maze-ing/grader.py @@ -0,0 +1,4 @@ +def grade(autogen, answer): + if len(answer)>= 25: + return True, "You guessed right!" + return False, "Nope. The maze is a bit longer than that." diff --git a/a-maze-ing/problem.yml b/a-maze-ing/problem.yml new file mode 100644 index 0000000..eca8f9c --- /dev/null +++ b/a-maze-ing/problem.yml @@ -0,0 +1,7 @@ +title: A-maze-ing +author: nicebowlofsoup +hint: It may take you a while to get to the end. Just keep going! +category: Miscellaneous +autogen: false +programming: false +value: 30