Agents In Use
What’s new todayLast update
108 use cases added today

How to use Codex to fix a puzzle game’s reward ledger

Codex repaired Faultline’s replay and daily-reward edge cases, separating a dated ledger from bounded history and checking storage and keyboard behavior.

OUR ADAPTATION

Suggested prompt

Suggested prompt written by Agents In Use, not the source author. Replace bracketed inputs and review tool permissions first.

Review this daily puzzle game’s staged scoring and local progress storage. Test mistakes followed by fast completion, same-day replays, history eviction, next-day rewards, and malformed legacy data. Propose a separate dated reward ledger and focus restoration after rerenders. Show me the plan and regression results before I approve a merge.

Evidence at a glance

Sourced account
Source author
Fatuma Yattani
Original account
Read the source ↗
Published
Source link checked
Reported result
Faultline gained replay-safe daily reward tracking, repaired clean-round scoring, safer storage handling, and focus restoration, with eighteen reported passing tests.
Human involvement
Fatuma reviewed Codex’s plan and changes, controlled scope, reran tests independently, and requested a second review before merging.

A linked account supports attribution. It does not mean we independently reproduced its result.

Report an issue with this caseOpen correction email

Opens your email app with the case link included. Nothing is sent automatically.

How the agent did it

  1. Codex audited the working game’s scoring, replay rewards, stored progress, and keyboard transitions.
  2. It implemented a separate dated reward ledger and regression cases for history eviction and malformed progress.
  3. The owner approved scope, reran checks, and requested a second review before merging the fixes.

Fatuma Yattani opened the completed Faultline game in Codex for a final engineering review. Players inspect two answers, locate the flawed sentence, diagnose the mistake, and choose a verification method. That staged mechanic made scoring and reward history more involved than a simple quiz.

Codex found that a fast player could receive a clean-round bonus despite an earlier mistake, and replays could award extra experience. Daily reward enforcement also depended on bounded result history: enough later rounds could remove evidence that a reward had already been collected.

The repair separated the dated reward ledger from general history. Tests covered same-day replay, history eviction, next-day rewards, and malformed older progress. Other changes handled damaged browser storage and restored keyboard focus after interface rerenders. Codex expanded the reported passing suite from twelve cases to eighteen.

Yattani reviewed the implementation plan, approved its scope, reran checks independently, and requested another review before merging. That additional review caught another reward-history edge case. The result was a more robust playable game with explicitly checked reward rules. It was not a runtime AI feature: Codex’s role was finding and repairing implementation defects around a human-designed game.

Prompt
Suggested prompt (written by Agents In Use, not the author's)

Source: Devpost · Fatuma Yattani

Frequently asked questions

Why was a separate reward ledger needed?

Bounded gameplay history could evict evidence of a same-day reward.

Did the owner accept the first review immediately?

No. Independent checks and another review found an additional history edge case.

Is Codex required while players play?

The described role was an engineering review of the static game.

More details

About this account

Codex audited the working game’s scoring, replay rewards, stored progress, and keyboard transitions. It implemented a separate dated reward ledger and regression cases for history eviction and malformed progress.

Opened developer account and Fatumayattani/faultline repository. ChatGPT concept work is distinguished from the Codex final engineering pass. Test totals and owner reruns are source reports, not independent execution here. Suggested prompt written by Agents In Use; no original task prompt was published in the verified account.

Credit: Fatuma Yattani — Devpost

Source published

Added to Agents In Use

Source checked

Tools and topics

Codex · JavaScript · Node.js · localStorage · test runner

game scoring · reward ledger · accessibility

Editorial completeness: 100/100. Measures documented fields, not agent performance or verified outcomes.