home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Loadstar 246
/
246.d81
/
t.sudoku
< prev
next >
Wrap
Text File
|
2022-08-26
|
2KB
|
81 lines
u
S U D O K U
by Dave Moorman
We're back! With some new Su Doku
puzzles for you to ponder. Last month,
Stanley Weintraub called with a
problem with Sudoku: the Save Puzzle
feature didn't want to work. The
problem was a simple one, and I am
surprised that we didn't catch it.
When the interrupts are running
(enabling the mouse and sprites),
[real] C-64's have a problem with disk
access. Fortunately, DotBASIC has an
easy answer -- .QS and .QR, for IRQ
Suspend and IRQ Restore. With these
commands in place, this copy of Sudoku
should work without a hitch.
The concept is simple. Each row,
column and 3x3 sub-grid must contain
all numbers, 1 through 9. Some numbers
are given with the opening of the
puzzle. Your job is to figure out
where all the rest go.
With our program, click "Start"
(or press <S>) to load a puzzle. A box
cursor appears at the upper-left
corner of the grid. Use the cursor
keys or click with the mouse pointer
to move the box cursor to an open
space. Press a number key to put that
number in the space. <SPACE> will
clear any space not containing one of
the original puzzle clues.
Since this is a computer, we have
added some features for your
convenience. Click "Opts" (or press
<O>) to open the Options menu. "No
Help" means just that. Whatever number
you insert in the puzzle will go
unchecked. "Warning" will turn the
background of any number that already
appears in that row, column, or 3x3
grid to red. "Block" automatically
erases any number that is already in
the row, column, or 3x3 grid.
"Clue" is for the faint of heart!
It will put the correct number in the
box cursor's box. I like to use it
[after] I have made my selection, just
to check before going on to other
spaces. "Check" checks the puzzle as
it appears on the screen against the
answer. If any number is wrong, you
return to putting numbers in boxes.
"Check" will [not] tell you what is
wrong! You can also check the puzzle
by pressing <RETURN>. The items on the
"Options" menu are all hot-keyed (with
<H> for "Check").
Click "Exit" (or press <E>) to
leave the current puzzle as it is. If
no puzzle is on the grid, "Exit" exits
the program.
"Save" will save the puzzle in
progress. "Load" will load a saved
puzzle.
DMM