12.07.2015 Views

Commodore Free Magazine Issue #59 (PDF)

Commodore Free Magazine Issue #59 (PDF)

Commodore Free Magazine Issue #59 (PDF)

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

The original version of this program was published onLOADSTAR #60 as 'digithunt' by Dave Johannsen. He was nodoubt ahead of the times because a few years later, puzzleslike this became the latest craze. These puzzles have appearedin almost all daily newspapers for the last decade.I modified the program to use a custom font with a large 2x2character set of numbers in a proportionally larger grid. I alsoused brighter colours and included ML routines from several ofthe Loadstar toolboxes. I did some 'tweaking' here and there,but the main algorithms remain (nearly) unchanged.Sudoku puzzles consist of a 9x9 grid, broken down into nine3x3 boxes. To solve a Sudoku, the numbers 1 thru 9 must filleach row, column, and box. Each number can appear only oncein each row, column and box. You can figure out the order inwhich the numbers will appear by using the numeric cluesalready in the boxes. The more numbers you name, the easierit gets to solve the puzzle!A box cursor appears in the centre of the grid. Use the cursorkeys to move the box cursor to an open space. Press a numberkey to put that number in the space. A ZERO will clear anyspace not containing one of the original puzzle clues.Whatever number you insert in the puzzle will be checked. Abuzzer will sound if the number entered is incorrect, and thenumber will not be entered in the square. A tally is kept of allerrors and a timer clock tracks how long it takes to solve thepuzzle. The objective is to get the fastest time with the leasterrors.There are nine different levels,each level more difficult than thepreceding one.From the initial screen, you can:1. choose the puzzle level to play2. clear the high scores file3. LOAD a previously SAVEd puzzle4. Build your own puzzleEnter skill level (1-9)The cursor keys can be used toscroll up and down thru the levels,and press RETURN on your choice,or just type the number and thenpress RETURN.CLR to clear scoresPress the HOME key to clear thefile of high scores.Build your own puzzleS U D O K Uby John Borrowmanwww.commodorefree.comThis option can be used to enter puzzles from newspapers,magazines, etc. First enter the printed puzzle (unfinished) andpress F1. It will then ask if you want to enter the solution,which can be skipped. If you do not plan on completing thepuzzle right away, press F3 to SAVE it for later.LOAD a previously SAVEd puzzleSelecting this option will show you a list of all SAVEd puzzleson file. Use the cursor keys to pick a file to LOAD and pressRETURN.While solving a puzzle, there are several option to assist you.The '?' key will show a random hidden digit, while the '/' keywill show the digit under the cursor. Both of these will costyou 2 error-points'. The F1 key will offer hints about whichrows, columns, or boxes may hold keys to the puzzle solution.Each 'hint' costs 1 'error-point'.F7 or 'Q' will end the puzzle.By the time this project is done, the program files should belinked and packed by Loadstar's Star Trio programs.Have fun!!COMMODORE FREEI will place a download for this file on the <strong>Commodore</strong> freewebsite look in the downloads sectionPage 18

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!