From a4a0875e6261f61fb5b53a6aab64c1acbfb02ff9 Mon Sep 17 00:00:00 2001 From: mo khan Date: Sun, 11 Aug 2019 18:24:19 -0600 Subject: add shots of the first and last screen for Q9 --- src/Q9/README.md | 45 ++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 42 insertions(+), 3 deletions(-) diff --git a/src/Q9/README.md b/src/Q9/README.md index 766de90..398aac9 100644 --- a/src/Q9/README.md +++ b/src/Q9/README.md @@ -68,11 +68,50 @@ This program depends on a random number generator to randomly generate the direction to move the robot towards. This program attempts to check the grid boundaries before advancing to the next position. - + 1. Sample Input and Output - ```bash - ```` + 1. Screenshot from the initial draw of the program. + + ```bash + ==== Question 9 ==== + | | | | | | | | | | | + |1| | | | | | | | | | + | | | | | | | | | | | + | | | | | | | | | | | + | | | | | | | | | | | + | | | | | | | | | | | + | | | | | | | | | | | + | | | | | | | | | | | + | | | | | | | | | |2| + | | | | | | | | | | | + + R1 (1, 0): [4] + R2 (8, 9): [3] + ``` + + 1. Screenshot from the final draw of the program. + + ```bash + ==== Question 9 ==== + | | | | | | | | | | | + | | | |X| | | | | | | + | | | | | | | | | | | + | | | | | | | | | | | + | | | | | | | | | | | + | | | | | | | | | | | + | | | | | | | | | | | + | | | | | | | | | | | + | | | | | | | | | | | + | | | | | | | | | | | + + R1 (1, 3): + [4,4,2,7,6,1,4,2,7,6,7,2,4,3,6,3,3,2,7,5,6,2,7,3,1,2,7,7,6,6,4,3,2,1,1,1,2,2,7,3,2,4,2] + R2 (1, 3): + [3,5,7,4,1,5,2,7,1,2,1,1,1,1,6,2,7,3,5,7,4,3,2,7,3,4,6,2,7,3,6,3,3,3,2,6,2,5,3,1,6,4,1] + ``` + + ![gif](../../doc/q9.gif) 1. Discussion -- cgit v1.2.3