X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;f=05-display-board%2Fdisplay-board-solution.ipynb;h=7c7549eae7ebf5e7e2f63d9e375935e6745806af;hb=2f750972c876ebbb88e1af96be1ce74b4d3558f8;hp=495c11085feacc88252626b2a695a5945cf3e753;hpb=9db793681c67b0ea1be1a404a5a7c1d5afc26610;p=ou-summer-of-code-2017.git diff --git a/05-display-board/display-board-solution.ipynb b/05-display-board/display-board-solution.ipynb index 495c110..7c7549e 100644 --- a/05-display-board/display-board-solution.ipynb +++ b/05-display-board/display-board-solution.ipynb @@ -17,7 +17,7 @@ "* `rotate column A B` rotates column A by B spaces down. Pixels that are moved beyond the bottom edge \"wrap around\" to the top edge.\n", "* `rotate row A B` rotates row A by B spaces to the right. Pixels that are moved beyond the right edge \"wrap around\" to the left edge.\n", "\n", - "You can assume all numbers are integers, the row and column values are always valid, and `A` $\\le$ `B` in the `left` and `toggle` commands." + "You can assume all numbers are integers, the row and column values are always valid, and `A` $\\le$ `B` in the `left` and `top` commands." ] }, { @@ -26,7 +26,7 @@ "source": [ "For instance, with a smaller grid that is 10 pixels wide and 4 tall, this is what a sample sequence of instructions would do.\n", "\n", - "* `toggle 1 6` turns on the first six pixels on the top row.\n", + "* `top 1 6` turns on the first six pixels on the top row.\n", "```\n", "******....\n", "..........\n", @@ -42,7 +42,7 @@ ".*........\n", "```\n", "\n", - "* `toggle 3 10` turns off the pixels in columns 4, 5, and 6, and turns on the pixels in columns 7 to 10.\n", + "* `top 3 10` turns off the pixels in columns 4, 5, and 6, and turns on the pixels in columns 7 to 10.\n", "\n", "```\n", "*.....****\n",