gekro
GitHub LinkedIn

Pattern Maker

Play a free pattern game: finish the row of shapes or numbers, in three levels, or build a pattern of your own.

Puzzle 1 of 8

What comes next?

All-time stars: 0 Best first-time answers here: 0 of 8

Look at the row and work out what comes next. Tap your answer, or press Tab to reach the choices, use the arrow keys to move between them and Enter to pick one. If it is not right, nothing is lost: that choice fades and you try another.

How it works

Every shape has its own colour, so the shapes can be told apart without colour. A puzzle is a short repeating unit written out two or three times with one cell hidden. The game only keeps a puzzle when exactly one shape makes the finished row repeat, so there is one correct answer and every other choice is wrong by the same test. Number puzzles count up or down by a steady step, with one number hidden. A round is 8 puzzles, and 5 right first time in a row offers the next level, which you can say no to. Nothing is timed, there is no sound and nothing leaves this page.

As-is, no warranty. These apps are free under their listed license and run entirely in your browser. Use at your own risk — don't blame me if your PC catches fire, your dog runs away, or the math turns out wrong. Verify anything that actually matters. None of this is professional financial, medical, legal, or engineering advice.

© 2026 Rohit Burani · MIT · Built at gekro.com · View source ↗

Guide

How to play

There are two tabs at the top.

Finish the pattern. A row of shapes (or numbers) has one empty box with a dashed blue edge. Work out what goes there and tap your answer from the choices underneath. If it is the right one, the box fills in, you get a star, and the game says in words why it fits, for example “The pattern is blue circle, red triangle, over and over.” If it is not right, that choice fades and you try another. Nothing is lost, and there is always a right one left to find.

Pick a level:

  • Little: two shapes taking turns (circle, triangle, circle, triangle) or two of one and one of the other (circle, circle, triangle). The empty box is at the end: what comes next? Three choices.
  • Middle: patterns of three, such as one, two, two or one, two, three. Sometimes the empty box is in the middle of the row. Three choices.
  • Big: patterns of four, such as circle, star, hexagon, diamond, and number patterns that count up or down by 1, 2, 3, 5 or 10. Four choices.

A round is eight puzzles. When you finish all eight the game cheers, says how many you got right first time, and offers Play again or Copy result. If you get five right first time in a row, it offers the next level. You can say “Not now”, and it asks again only after another five.

Make my own. Tap shapes to build a row of up to twelve. The game tells you what it sees: “They are all the same so far”, “Keep adding” or “Lovely! Your pattern repeats every 3”. Take one back removes the last shape, Clear starts again, and Copy my pattern copies the row as words. This tab has no stars, it is just for making.

Every shape has its own colour, so you can tell the pieces apart by shape alone. Colours are also named for screen readers, as in “blue circle”.

Keyboard: press Tab to reach the choices, use the arrow keys to move between them, and press Enter or Space to pick one. Everything in both tabs is a button, so it works without a mouse.

There is no timer and no sound. Wrong picks never lose a star.

How it works

The engine is a set of pure functions that never touch the page, so each rule is covered by tests.

  • One right answer. A shape puzzle is a repeating unit written out two or three times with one cell hidden. A piece fits the gap when the finished row repeats with some period of at most half its length. The generator tries all six pieces, keeps the puzzle only if exactly one fits, and builds the wrong options from pieces that fail the same test. The tests check this with a second, separately written version of the repeat test, across more than a thousand generated puzzles, and also check that the smallest repeat of every finished row is the length of its rule.
  • The rules per level are the ones listed above and no others. The tests count which rules each level produces over many seeds and compare them with the list on this page.
  • Number puzzles count by a steady step of 1, 2, 3, 5 or 10 (counting down only for steps up to 5), never go below zero, and hide one number that is not one of the first two. Exactly one number keeps the step steady, and the tests try every whole number from -5 to 214 to prove it.
  • A round is fixed by its seed. The address holds the tab, the level and a number, so the same address gives the same eight puzzles. The same kind of puzzle never comes twice within two turns.
  • Choosing returns a new state and never changes the old one. A wrong pick is remembered and cannot be picked again; a right pick finishes the puzzle. Random choosing in the tests always finishes.
  • Make my own calls a row a pattern only when it repeats and has at least two different shapes. The tests check this against a separate version on every row of up to eight shapes over three kinds.
  • Saved data is your all-time star count, rounds finished and the best first-time count for each level, as small numbers in your browser’s local storage. A damaged value reads as zero.

Limits

  • Patterns are shapes and whole numbers only. There are no sounds, no letters and no pictures.
  • The number patterns only count by steady steps. Doubling, odd and even, and growing steps are not included.
  • Stars live in your own browser, so they are not shared between devices, and clearing site data removes them.

Everything runs in your browser. Nothing is sent anywhere.

All Fun tools →

For informational purposes only. Not financial, medical, or legal advice. You are solely responsible for how you use these tools.