Sudoku: rules and how to play
Nine rows, nine columns, nine boxes, and a digit from 1 to 9 for every empty cell — each of them once in every row, column and box. Four levels, from a gentle start to puzzles that need whole chains of reasoning.
For one player
About the game
Sudoku is a puzzle of nine rows and nine columns, divided into nine boxes, in which every row, column and box has to hold the digits 1 to 9 once each. There is no arithmetic in it at all — the digits could as well be nine colours or nine letters — only a little patience and the habit of asking, of every empty cell, what could still go there.
Something very like it was printed in French newspapers in the 1890s, but the puzzle as it is played today first appeared in 1979, in an American puzzle magazine under the name Number Place, and is usually credited to Howard Garns. In 1984 the Japanese publisher Nikoli took it up and called it sudoku, short for a phrase that means roughly that the digits must stay single. In Japan the word is Nikoli's trade mark; everywhere else it is simply the name of the puzzle, which went round the world from a British newspaper in 2004.
The puzzles here are made afresh for every game and graded by a solver that reasons the way a person does and never guesses. Each has exactly one solution, and the symmetrical pattern of givens the puzzle has traditionally been printed with. The hint is the same solver, saying what it would do next, and why.
The rules
- A sudoku is a grid of eighty-one cells: nine rows, nine columns, and nine boxes of three by three, numbered from 1 at the top left to 9 at the bottom right, one row of boxes after another. Some of the cells are given a digit to begin with.
- Fill every empty cell with a digit from 1 to 9 so that each row, each column and each box holds every digit exactly once. The given digits stay as they are. Every puzzle here has exactly one solution, and it can always be found by reasoning alone: nothing ever has to be guessed.
-
Click a cell, or move to it with the arrow keys, and type a digit, or press it on the number pad under the grid; Backspace or Delete clears it again. The cell you are on is shaded along with its row, its column and its box, and so is every cell with the same digit, so that you can see at a glance where a digit already is and where it could still go.
The cell you are on lights up its row, its column, its box and every cell with the same digit. - Pencil marks are small digits for keeping track of what could still go in a cell. Switch to them with the pencil button or the space bar, and a digit then goes into the cell's pencil marks, or out again. Fill in pencil marks writes every digit not yet ruled out into every empty cell, and a digit you place is taken out of the marks of every cell that shares a row, column or box with it.
-
A digit that appears twice in a row, column or box is shown in red. A digit that is merely wrong is not, since a puzzle that pointed out every wrong digit could be solved by trying them all. The hint tells you instead: it owns up to a wrong digit first, and otherwise shows the next step that can be worked out — it rings the cells the step rests on, crosses out what it rules out, and says why in words.
The hint rings what it rests on and strikes out what it rules out: the 2 of box 3 has to be in row 3, so it is struck from the rest of row 3. - There are four levels, and each is the hardest kind of reasoning its puzzles need. Easy needs nothing more than the only place left for a digit in a row, column or box, or the only digit left for a cell. Medium adds a digit penned into one line of a box, and pairs and triples of cells that share their digits between them; hard adds X-wings, swordfish and XY-wings; very hard, colourings and chains of cells that can each be only one of two digits.
- Every change can be taken back, except a hint: what a hint has said stays said. The puzzle is solved when every cell is filled and nothing clashes. It can also be given up, and then counts as not solved.
Playing it well
- Start with the digits that are in the grid most often already: an 8 that has been placed six times leaves only three boxes to look in.
- Take one box at a time. For each digit it still needs, follow the rows and columns that run into it from the same digit outside, and see where in the box it is still free to go.
- When a box, a row or a column has only one empty cell left, the digit it is missing goes there — easy to overlook in a grid that is nearly full.
- From medium upwards, pencil marks pay for themselves. Write in every candidate once and keep them up to date as you go: most of the harder steps are patterns in the marks rather than in the digits.
- When two cells of a row hold the same two candidates and nothing else, those two digits belong to them. Strike them from the rest of the row — and look for the same with three cells and three digits.
- Stuck? Ask for a hint rather than guess. A wrong guess is often found out only much later, and by then half the grid may rest on it.