Sudoku

Copying sudoku


icons/shudugb.png

The simplified form of sudoku.


icons/shudub5.png

The traditional form of sudoku


Introduction

This version of sudoku is designed to run on a telnet screen. You can also run it on your local Linux console or an xterm window in X Windows.

The rules for playing the game in this program are the same as the standard rules. The program gives you error messages when a duplicate number is entered, or when you try to enter a number over an original number on the card.

This version of sudoku is similar to solitaire. Not every card can be completely filled in. The purpose of this game is to see how many numbers (1-9) you can fill in in the shortest time possible with the fewest errors.

How To Run

To start sudoku, run the command,

      sudoku

Moving the Cursor

Use the arrow keys to move the cursor. The cursor jumps over original numbers on the card.

Replay Same Game

Press the letter b to replay the same game. You may replay the same game at any time.

Reset

Press the letter r to reset to a new game. You may reset the game at any time.

Termination

Press the letter q to quit the game. You may quit the game at any time.

Display

sudoku shows the menu on the left of the screen. On the right of the screen, is the sudoku card. The number with reverse video is where the cursor is pointing. If you enter a number on your keyboard, this number should change, unless it is in error.

Below the menu on the left is a running count of elapsed time in minutes and seconds. Below this is the total number of errors in the current game.

Log File

sudoku writes to a log file in the local directory, called sudoku.log. This file is replaced every time you start or reset the game. The replay option extends the log.

The log shows the initial card and the final card and the time stamp for each. Below the final card is the number of numbers entered and the number of errors.

Performance

sudoku sleeps in between key strokes to allow other tasks to run during the game.


Remote Session

Read this procedure for information on how to run sudoku from a remote terminal.