Context Window

Original

Memorise the grid before it forgets itself.

Context Window

At a glance

Goal
Match every pair on three grids in turn, each against its own clock
Grids
4 by 4 (8 pairs, 120 seconds), then 4 wide by 5 (10 pairs, 160 seconds), then 5 wide by 6 (15 pairs, 210 seconds)
Twist
After every sixth move one matched pair can turn back face down
Score
25 a match, and at the end of each grid 100 a star plus the whole seconds left
Controls
Tap or click a card. Esc or the Pause button pauses, and Enter or Space starts and resumes. There is no keyboard play
Saves
Your best score, in this browser only
Cost
Free, no account

How Context Window plays

  • Turn over one card, then a second. Each pair you turn over is one move. A match stays face up after 0.3 seconds and scores 25. A miss shows for 0.85 seconds, then both cards turn back. No card turns while two are showing.
  • The symbols are drawn, not typed: a circle, a triangle or a diamond in one of five colours. That makes 15 different symbols, one for each pair on the biggest grid.
  • After every sixth move, a match or a miss, one matched pair chosen at random turns back face down with the note "Context lost! One pair forgot itself". It can be the pair you have just matched: on the sixth move that happened in 54 of 300 test games. Its points stay, and matching it again scores another 25.
  • Forgetting happens at most 3 times on the first grid, 4 on the second and 5 on the third. The move that matches the last pair always ends the grid.
  • Stars count moves: 3 stars for up to 0.8 moves a card (12 moves on the first grid, 16 on the second, 24 on the third), 2 stars up to 1.3 a card (20, 26 and 39), and 1 star above that.
  • The next grid deals itself 2.4 seconds later, freshly shuffled and with its own clock. Clear the third and the end card lists your stars and total moves. If a clock runs out, the game ends with the stars earned so far.

What the test players showed

The rule test played 10 games with each of two kinds of test player in the 1280 by 720 frame.

  • Perfect memory. A player that never forgets a card it has seen cleared all three grids in every game, at half a second, one second and two seconds a tap. It used 12 to 16 moves on the first grid and 26 to 29 on the third, and took 2 stars on every grid in 9 games of 10, with 3 stars on the first grid in the tenth. Scores ran from 2,049 to 2,130 at half a second a tap and from 1,873 to 1,968 at two seconds.
  • No memory. A player turning face-down cards at random cleared no game. At half a second a tap 4 of 10 finished the first grid, in 57 to 86 moves, all with 1 star, and none finished the second.

On the first grid 3 stars means 12 moves or fewer, and up to 3 pairs can be forgotten there, each of which takes another move to match again.

Tips that follow from the rules

  • Remember what you have matched. A forgotten pair turns face down where it was, so if you kept track of it, matching it again costs one move.
  • A miss is not wasted. It shows you two cards, and the sixth move forgets a pair whether it matched or not.
  • Watch the clock on the third grid. It has 15 pairs and 210 seconds, and the seconds left are added to your score.

On a 390 by 844 phone the cards are 82 pixels across on the first grid, 76 on the second and 63 on the third. In the 1280 by 720 frame they are 92 pixels on every grid. The opening prompt for this game is below. For a game of spotting the one odd icon, try Hallucination Hunt.

Known limits

  • No keyboard play: you need a mouse, a touch screen or a pen.
  • No difficulty setting: every game starts on the 4 by 4 grid.
  • You cannot pick a grid: the three always come in the same order.
  • The end card says "1 stars" for a one-star grid.
  • No sound.
  • At 1280 by 720 the game frame is 848 pixels tall, so on the third grid the bottom row of cards sits below the window until you scroll.
  • At 1280 by 720 the cookie notice covered the lower cards in our check until it was answered, and a click on it pauses the game.
  • Switching tabs or leaving the window pauses the game.
  • If storage is blocked, your best score is not kept.

How it was built and checked

AI tool
Codex
First committed
2026-10-14, in the site's first commit with nine other original games
Size
One HTML file of 180 lines (about 10 KB), no game libraries
Rounds of changes
1, from the build record
Checked at build
The build report: a syntax check, and logic checks against a stand-in canvas at 320 by 568, 1440 by 900 and 740 by 320 covering blocked storage, pause and resume, scoring, the end of a game and restart, with all three levels completed while forgetting was on. It names an interactive browser playtest, touch feel, visual layout and difficulty on real devices as not verified
Checked since
2026-11-11: a new rule test (50 checks covering the three grids, the symbols, turning cards, misses and matches, forgetting and its limits, matching a forgotten pair again, the star bands on every grid, the grid score, the end after three grids and when a clock runs out, Play Again with a new shuffle, pause, no keyboard play, card sizes at both frame sizes and 50 test player games), and an automated browser check of the local build. At 1280 by 720 it answered the cookie notice, pressed Play, turned two different cards and watched them turn back, cleared the first grid with 3 stars while a pair was forgotten on the way, paused and resumed with Esc, then with the game moved on to the third grid matched all 15 pairs, two of them twice, to reach the end card, and pressed Play Again for a new deal. At 390 by 844, with a touch screen, it answered the notice, tapped Play, a miss and three matches, paused and resumed with the buttons, cleared the third grid in 17 moves the same way, and tapped Play Again
Played on a phone
2026-11-11, a full game on a real phone before this page went live

Embed Context Window on your site

Free to embed. Please keep the credit link.

<div style="position:relative;padding-top:75%;max-width:640px"><iframe src="https://aivibecodedgames.com/games/context-window/" title="Context Window (free browser game)" style="position:absolute;inset:0;width:100%;height:100%;border:0" loading="lazy" allow="fullscreen" allowfullscreen></iframe></div>
<p><a href="https://aivibecodedgames.com/play/context-window/">Play Context Window free</a> on AI Vibe Coded Games</p>

How it was vibe coded

ToolCodex
Rounds of changes: 1
First committed2026-10-14

The opening prompt

Make a memory card matching game with a twist: every few moves a random previously-matched pair 'falls out of context' and flips back to face-down, forcing you to remember it again. Levels increase grid size (4x4, 4x5, 5x6). Cards use drawn symbols (no emoji fonts, draw with canvas). Move counter, timer, star rating per level.

Game controls

  • Tap or click cards to flip
  • Match pairs

The game brief includes touch controls for phones.

Open the game on its own

More games