You're presented with a five-by-five grid of dots.
Each dot is assigned a label from 1 to 25 going across the rows and down. Thus, the top-left dot is number 1; the bottom-left dot is 21.
Your job is start at dot number 1 and to go from dot to dot and draw a picture. How do you know what dot to go to? Well, each dot has (below) a statement followed by two instructions; if the statement is true, follow the first instruction; if the statement is false, follow the second. It looks like this:
Dot number in boldface Statement followed by a period (full stop). instruction if true followed by a semicolon; instruction if false
p in any instruction or statement refers to the dot you just visited, or its number. (It stands for "previous".)
How to read the instructions: Each instruction has one of three forms: end means you're done. jump x means you should now visit x, but don't draw a line on the grid from where you are to x. walk x means you should now visit x, and draw a line to get there. Arithmetic yielding x should be done modulo 25; thus, "2p" means you multiply 2 by p and, if necessary, take the result modulo 25 to yield a number from 1 to 25.
The statements and instructions:
1 The answer after this one is true. jump 10; jump 7
2 You've never visited 2p. walk p+4; end
3 You've visited 15p. walk 11; jump 21
4 You'll visit p. jump 2p; jump 3
5 You've taken fewer than half the steps of the entire route. walk 2p; jump 15
6 You've taken more than half the steps of the entire route. walk 10p ; walk p−9
7 The answer before this one is false. walk 11; jump 19
8 The answer before this one is false. walk 19; jump 7
9 The answer before this one is false. walk 22; jump 22
10 This is the first time you're at 10. walk p−5; jump 3p
11 You will visit p. walk 7p; walk 24
12 You will not visit p. end; jump 15
13 You will visit p. walk p; jump p+2
14 You have visited 9. jump 1; walk 9
15 You have visited p−2. jump p; end
16 You have visited p−2. jump 2p; jump p
17 You will not visit 3p. jump 13p; end
18 You have visited 2p. jump 3p; jump 2p
19 You have visited p+2. walk 2p; jump p−2
20 This is the 2nd time you're at 20. walk 1; jump 6
21 This is the 1st time you're at 21. jump 4; jump 3p
22 This is not the 1st time you're at 22. walk 21; jump 5
23 The answer before this one is true. jump 5; jump 7
24 When you were just at p, that was your 1st time there. jump p−8; jump p+8
25 You will not visit 14. walk 17p; jump 8
Nitty-gritty details of terminology: Every time you're at a dot, it's called "visiting" it, including the initial visit to dot 1. Every time you walk or jump from dot to dot, it's called a "step"; all the steps constitute the "route". References to "before" and "after" refer to the order along the route, not the usual order of integers. Past and future tense in the statements (e.g. "you will visit 9") refer to the past and future relative to your current visit, and do not refer to the entire route.