GameParticles
Games

How to Play Sudoku: Rules, Notation and First Steps

Learn how to play Sudoku in five minutes: the three rules for rows, columns and boxes, how cell notation and pencil marks work, and where to start a puzzle.

Updated

To play Sudoku, fill every empty cell of the 9x9 grid with a digit from 1 to 9 so that no digit repeats in any row, any column, or any of the nine 3x3 boxes. The digits you are given at the start are fixed, and a well-made puzzle has exactly one solution that you can reach by logic, with no guessing and no arithmetic.

The three rules

The grid has 81 cells arranged in 9 rows and 9 columns. Heavier lines split it into nine 3x3 boxes. Every finished grid obeys three constraints at once:

  1. Each row contains the digits 1 to 9 exactly once.
  2. Each column contains the digits 1 to 9 exactly once.
  3. Each 3x3 box contains the digits 1 to 9 exactly once.

A row, column or box is called a unit, or sometimes a house. There are 27 units in total. Every cell belongs to exactly three of them: one row, one column and one box. The 20 other cells that share a unit with a cell are its peers, and the whole game follows from one fact: a cell can never hold the same digit as any of its peers.

That is all there is. Diagonals do not matter in standard Sudoku, and the digits are never added up. They are nine distinct symbols, nothing more.

Givens and the single solution

The digits printed in the grid at the start are the givens, also called clues. They cannot be changed. A proper puzzle has enough givens, in the right places, that only one completed grid fits them.

The number of givens is a rough guide to difficulty: fewer givens usually means more work per cell. In Sudoku on GameParticles each new puzzle is generated fresh and checked to have a single solution, at one of four levels:

LevelGivens at the startEmpty cells to fill
Easyabout 43about 38
Mediumabout 34about 47
Hardabout 29about 52
Expertabout 25about 56

A short history

The modern puzzle was created by Howard Garns, an American architect, and first published in 1979 under the name Number Place. The Japanese publisher Nikoli introduced it in Japan in 1984 and gave it the name Sudoku, which comes from a phrase meaning that the digits must stay single. It spread worldwide after British newspapers began printing it in late 2004.

Notation

You do not need notation to play, but every guide uses it, including ours.

  • Rows are numbered 1 to 9 from top to bottom, columns 1 to 9 from left to right.
  • A cell is written as row then column: r4c7 is the cell in row 4, column 7.
  • Boxes are numbered 1 to 9 in reading order: box 1 is top left, box 3 is top right, box 5 is the center, box 9 is bottom right.
  • A candidate is a digit that could still legally go in a cell, because none of the cell's peers holds it yet.
  • Pencil marks, or notes, are small candidates written inside an empty cell so you do not have to recalculate them.

When a cell's candidates shrink to one, that digit is the answer. When a digit has only one cell left where it can go within a unit, that cell is the answer. Those two events are the engine of every solve.

First steps on a new puzzle

Do not start in a random corner. Start where the grid is most crowded, because crowded areas have the fewest possibilities.

  1. Find the fullest unit. A row, column or box with seven or eight digits filled can often be finished immediately. List which digits are missing and check each empty cell's row, column and box for conflicts.
  2. Pick the most common digit. If 7 already appears six times in the grid, the three remaining 7s have very little room. Look at each box with no 7 and rule out the rows and columns that already have one. If only one cell in the box survives, the 7 goes there.
  3. Repeat for the other digits. Go through 1 to 9 in order. Each digit you place removes options from 20 other cells, so a second pass often finds new placements.
  4. Recheck after every placement. A new digit affects its row, column and box. Look there first for the next move.

A quick example of step 2: box 1 has no 7. There is a 7 somewhere in row 1 and another in row 2, so the 7 for box 1 must be in row 3. Column 1 also has a 7 lower down, and the cell at r3c2 is already filled. The only cell left is r3c3, so write the 7 there.

When these scans stop producing digits, it is time for pencil marks and a more organized routine. That is laid out step by step in how to solve Sudoku, and the named techniques are in the Sudoku strategy guide.

Playing on GameParticles

Select a cell, then choose a digit. On a keyboard the arrow keys move the selection.

ActionKeyboardOn screen
Place a digit1 to 9Number pad
Erase a cellBackspace, Delete or 0Erase button
Toggle notes modeNNotes button
UndoUUndo button
HintHHint button
Pause or resumeSpacePause button

A few things work differently from paper:

  • Notes mode. With notes on, a digit is added to the cell as a small pencil mark instead of being placed. When you later place a real digit, matching notes in its row, column and box are cleared for you.
  • Mistakes. A digit that does not match the solution turns red and counts as a mistake. After three, the game stops and offers a choice: keep going without the limit, or start a new puzzle.
  • Hints. Each game has three. A hint fills in the correct digit for the selected cell, or for a random unsolved cell if nothing suitable is selected.
  • Timer and saves. The clock pauses when you pause, your best time per level is recorded, and an unfinished puzzle is kept so you can resume it later.

Common beginner mistakes

  • Checking only two of the three units. A digit can be clear in the row and column and still clash inside the box.
  • Guessing. If two digits both seem possible, you have not found the deciding clue yet. Look elsewhere and come back.

Try it

Open Sudoku, choose Easy, and begin with the fullest box. Place only digits you can prove, and switch on notes when the easy placements run out. If you enjoy this kind of elimination, Minesweeper uses the same habit of mind.

Frequently asked questions

What are the rules of Sudoku?

Fill the 9x9 grid so that every row, every column and every 3x3 box contains the digits 1 to 9 exactly once. The digits printed at the start cannot be changed. A proper puzzle has only one solution, reachable by logic alone.

Do you need to be good at math to play Sudoku?

No. Sudoku uses digits only as nine different symbols. There is no adding, subtracting or other arithmetic involved, and the puzzle would work the same with nine letters or nine colors. The only skill required is elimination.

Can a Sudoku have more than one solution?

A correctly made Sudoku has exactly one solution. If a grid can be completed in two different ways, it is considered a flawed puzzle. The fewest starting digits a puzzle can have and still be unique is 17, a result proved by computer search in 2012.

What is the easiest way to start a Sudoku?

Begin with the rows, columns and boxes that already hold the most digits, and with the digits that appear most often in the grid. Both leave the fewest possibilities, so the first few cells can usually be filled with certainty.

More games guides

JSON Formatter
Developer · Format, validate and minify JSON with syntax highlighting.
↵
Base64 Encode / Decode
Developer · Encode text to Base64 or decode Base64 back to plain text.
↵
URL Encoder / Decoder
Developer · Encode or decode URL components and query strings.
↵
Hash Generator
Developer · Generate MD5, SHA-1, SHA-256 and SHA-512 hashes.
↵
UUID Generator
Developer · Generate UUIDs v4 (random) in bulk with one click.
↵
Regex Tester
Developer · Test regular expressions against text with live match highlighting.
↵
Word Counter
Text · Count words, characters, sentences, paragraphs and reading time.
↵
Case Converter
Text · Convert text between UPPER, lower, Title, camelCase, snake_case and more.
↵
List Sorter
Text · Sort, reverse, deduplicate and shuffle lists of text.
↵
Markdown Preview
Text · Write Markdown and see a live rendered preview side by side.
↵
Percentage Calculator
Numbers · Calculate percentages, increases, decreases and what % one number is of another.
↵
Color Converter
Colors · Convert colors between HEX, RGB, HSL and HSV instantly.
↵
Snake
Arcade · Eat food, grow longer, don't hit the walls. A timeless classic.
↵
2048
Puzzle · Slide tiles and combine them to reach the legendary 2048 tile.
↵
Word Grid
Puzzle · Guess the hidden five letter word in six tries using color clues.
↵
Sudoku
Puzzle · Fill the 9x9 grid with logic. Four difficulties from easy to expert.
↵
Minesweeper
Strategy · Use number clues to clear the minefield. Classic logic, three levels.
↵
Breakout
Arcade · Smash every brick with paddle and ball. Power-ups, combos, endless levels.
↵
Typing Practice
Casual · Build your WPM and accuracy with timed drills from 30 seconds to 5 minutes. Find your weak keys.
↵
TypeRunner
Arcade · Multiplayer typing race. Race friends by link, beat computer runners, or chase your own ghost.
↵
Typing Blocks
Arcade · Type each word before its wooden block lands. Miss, and the pile climbs toward the line.
↵
Bubble Shooter
Arcade · Aim, bank shots off the walls, and pop groups of three or more bubbles.
↵
Road Rush
Arcade · Race seven rivals through traffic and punch your way to the front.
↵