Keywords: Knightstour5x5.svg en Knight ™s tour on a 5×5 board 2013-09-13 16 06 59 own László Németh Source code ; Created in LibreOffice 4 1 2 with this LibreLogo program ; Usage Put this code into an English language document in LibO Writer ; and click on the Start icon of the View»Toolbars»Logo toolbar ; steps in clock positions steps 2 10 8 5 4 1 11 8 7 4 2 11 10 7 5 2 11 2 7 5 10 8 1 11 TO tour steps pens penc board where 1 1 2 2 2 1 4 2 -1 5 1 -2 7 -1 -2 8 -2 -1 10 -2 1 11 -1 2 HOME PENSIZE pens PENCOLOR penc FILLCOLOR WHITE IF board SQUARE 30 PENUP FOR i IN steps FORWARD wherei0 30 wherei1 30 HEADING 0 IF board PENDOWN SQUARE 30 PENUP PENDOWN END HIDETURTLE PENJOINT MITER PICTURE knightstour5x5 svg tour steps 1 GRAY TRUE ; draw board tour steps 2 BLACK FALSE cc-zero Uploaded with UploadWizard Knight's Tours Images with LibreLogo source code Created with LibreOffice Valid SVG |