The Last AlibiBegin Investigation

A PROVABLE AI DETECTIVE GAME

The mystery plays like a game. The truth behaves like a proof.

The Last Alibi is a browser detective game where AI suspects may evade, misdirect, and perform, but cannot rewrite the case. Investigate one committed mystery, use five certified disclosures, make one private accusation, and receive only a cryptographically verified YES or NO.

  1. 01AI can perform. It cannot redefine truth.
  2. 02Interrogate freely. Certify only five facts.
  3. 03Prove the outcome. Never reveal the solution.
Live in this build

Practice Investigation is playable now. It uses deterministic fixture state and clearly labeled scripted testimony. The partner-backed live path shown below is an intended architecture, not a fabricated deployment.

THE 60-SECOND BRIEFING

Five ideas carry the whole case.

01 · THE PRODUCT

A cinematic detective game built around one unchangeable truth.

Players explore a private museum, interrogate four distinct suspects, collect evidence, and commit to one final accusation. Every screen serves the mystery: observation, deduction, and consequence.

02 · FIXED TRUTH

64 possible cases. One committed truth.

Every session chooses one hidden combination before the investigation begins. The same public case universe can be replayed, but each player receives a session-specific committed answer.

03 · CONTROLLED DISCLOSURE

Five certified questions. No exact-case oracle.

Natural-language testimony may guide or mislead. Only curated binary warrants change canonical knowledge, and the system blocks any warrant whose YES or NO branch would isolate the answer.

04 · PRIVATE VERDICT

Prove the accusation. Reveal only YES or NO.

The designed live path commits the accusation privately. A Groth16 proof establishes that the binary verdict was computed from the committed case and accusation without publishing either one.

05 · PRODUCT WEDGE

Web3 that makes games more trustworthy, not more financialized.

Players come for expressive characters and deduction. Studios need AI characters without surrendering narrative consistency, competitive fairness, or outcome integrity.

DEEP DIVE

Product · Mathematics · Architecture · Security · Market

01 · WHY THIS GAME EXISTS

AI characters are expressive. Their truth is not inherently trustworthy.

Generative suspects can contradict facts, repeated prompting can leak a secret, and an operator could change the answer after seeing an accusation. Fully deterministic dialogue avoids those failures but gives up natural performance.

AI controls performance. Deterministic and cryptographic systems control truth.

AI may control

Wording and toneEmotion and evasionApproved leadsCharacter performanceBounded testimony

AI may not control

Selected hidden caseCanonical evidenceCandidate-mask transitionsDisclosure authorizationProof acceptance or verdict
01Commit one case
02Explore four rooms
03Interrogate suspects
04Separate testimony from evidence
05Spend up to five warrants
06Commit one accusation
07Prove a binary verdict
08Authorize the reveal

Four suspects

Ada Vale · Marcus Reed · Celeste Moreau · Theo Lin

Four rooms

Grand Gallery · Restoration Lab · Archive Vault · Rooftop Conservatory

Two weapons

Ceremonial Dagger · Bronze Bust

Two windows

Before the blackout · After the blackout

02 · DISCLOSURE MATHEMATICS

A 64-bit universe with a deliberately narrow certified channel.

Each case occupies one bit of a u64. Public observations and informal testimony can guide a theory, but only a registered binary predicate updates the canonical candidate mask.

i(s,r,w,t)=(((4s+r)2+w)2+t)i(s,r,w,t)=(((4s+r)\cdot2+w)\cdot2+t)
M0=2641=0xffffffffffffffffM_0=2^{64}-1=\mathtt{0xffffffffffffffff}
Y=MyesMask,N=MnoMaskY=M\land\mathrm{yesMask},\qquad N=M\land\mathrm{noMask}
popcount(Y)2popcount(N)2\operatorname{popcount}(Y)\ge2\quad\land\quad\operatorname{popcount}(N)\ge2
qresolved<5q_{\mathrm{resolved}}<5
Illustrative model

Was the culprit Ada Vale?

AUTHORIZED
YES survivors 16 NO survivors 48Current mask 0xffffffffffffffff

Both possible branches are counted before the hidden case is read. This local explainer never reads or changes a game session.

Both branches are checked before the secret is evaluated.

Accepted certified queries consume one of five units.

An implied answer with an empty branch should not call the prover or consume budget.

Certified state cannot fall below two survivors.

Informal testimony never updates the mask.

Optional information estimate
H2(p)=plog2p(1p)log2(1p)H_2(p)=-p\log_2p-(1-p)\log_2(1-p)

Explanatory information estimate only. Enforcement uses candidate counts, not fractional entropy.

03 · COMMITMENTS AND GROTH16

Prove the binary result without publishing the case or accusation.

The intended live claim is: there exists a hidden case and accusation that open the public commitments, and the committed verdict bit equals one if and only if every accusation field matches the case.

01

Case commitment

Binds the ending selected before investigation.

02

Accusation commitment

Binds one private, terminal theory.

03

Session-attempt domain binding

Prevents proof reuse across sessions or attempts.

04

Verdict commitment

Binds the proof result to one hidden bit.

PUBLIC STATEMENT

  • Case commitment
  • Accusation commitment
  • Session and attempt binding
  • Verdict commitment
v=1 ⁣[(s,r,w,t)=(s^,r^,w^,t^)]v=\mathbf{1}\!\left[(s,r,w,t)=(\hat{s},\hat{r},\hat{w},\hat{t})\right]
GROTH16
Verify(vk,π,x)=1\operatorname{Verify}(vk,\pi,x)=1

PRIVATE WITNESS

  • Hidden case and salt
  • Private accusation and salt
  • Verdict bit and salt
  • No losing solution output

The proof establishes

Commitment openings, equality evaluation, verdict commitment, and the correct session/attempt binding.

It does not establish

Unbiased case randomness, truthful arbitrary dialogue, storage availability, or authorization to decrypt.

UnavailableDevelopment limitation: the live Groth16 path and production trusted-setup policy are not integrated on this branch. Commitment notation here is conceptual; no unconfirmed Poseidon encoding, field layout, or domain separator is published.

04 · ARCHITECTURE

Every system has one narrow authority.

Player → Game UI → API / relayer → verified services → Sui terminal state → authorized binary reveal.

Designed This repository diagram describes the intended live architecture and fail-closed boundaries. It is not evidence that partner services are deployed in this branch.

Authority matrix
ComponentAuthoritative forNot authoritative for
Game UIPresentation and interactionCase truth or proof validity
API / relayerOrchestration and idempotencyChoosing the verdict
Sui MoveCanonical state and proof acceptanceNatural-language content
ZK proverProof generationPolicy authorization
0GVerified suspect inferenceCanonical evidence or verdict
WalrusEncrypted persistenceAccess authorization or truth
SealDecryption under Sui policyVerdict correctness
World AgentKitHuman-backed ranked authorizationGame outcome

05 · LOAD-BEARING ROLES

Infrastructure stays underneath the game—and fails closed.

No integration silently degrades into a mock or conventional fallback while presenting itself as live.

SUI

Canonical game state

Designed to hold commitments, candidate mask, counters, nonces, proof results, permits, terminal state, verdict commitment, and Blob ID; verify the proof; and prevent replay or mutation.

0G

Verified character performance

Designed for bounded, schema-checked suspect inference. It must never determine evidence, candidate transitions, or the verdict.

WALRUS

Encrypted artifact persistence

Designed to store the exact encrypted verdict capsule. A missing or mismatched content-derived Blob ID blocks progression.

SEAL

Policy-controlled reveal

Designed to release decryption only to the recorded player after terminal Sui state and exact commitment/session checks.

WORLD

Human-backed ranked attempts

Designed to grant a scarce, scoped permit bound to player, agent, level, version, nonce, and expiry—not a decorative badge.

Threat and control model
ThreatControl
Publisher changes the endingPre-investigation case commitment
AI invents canonical cluesAI testimony is non-authoritative
Exact-case probingTwo-survivor branch check
Repeated certified questionsFive-query cap and used-predicate tracking
Reading an answer then abortingState finalizes before answer delivery
Proof replaySession and nonce binding
Wrong verifierExpected verifier identity is pinned
Ciphertext substitutionBlob ID and commitment binding
False verdict capsuleProof-bound verdict commitment and client check
Unauthorized revealSeal policy checks terminal state and player
Fake AI responseVerified 0G response and fail-closed rendering
Ranked bot abuseWorld-backed scoped permit and replay protection

06 · PRODUCT-MARKET THESIS

The opportunity is not “blockchain gaming.” It is trustworthy AI-native play.

Players come for expressive characters and fair deduction. Studios need generative characters without giving models, operators, or repeated prompts authority over canonical state.

PRIMARY PLAYER

Mystery and puzzle fans

Deduction players, escape-room fans, and people attracted to expressive AI characters. No prior blockchain knowledge is assumed.

FUTURE CUSTOMER

Narrative creators and studios

AI-character platforms, puzzle creators, and UGC platforms that need hidden-state integrity and bounded disclosure.

PRODUCT WEDGE

One excellent browser mystery

A polished case that demonstrates the trust model while remaining fun without understanding the infrastructure.

Playable mysteryPaid case libraryCreator toolingStudio trust infrastructure
We have demonstrated a product thesis and technical feasibility. Product-market fit must be earned through repeated player use and creator adoption.

07 · GO-TO-MARKET

Prove play first. Earn infrastructure demand later.

The roadmap starts with frictionless Practice mode and player behavior—not a token or a marketplace.

PHASE 1

Prove the game loop

Public browser release, one polished case, hackathon and browser-game distribution, completion and trust-comprehension tests.

PHASE 2

Build repeat play

Premium case packs, seasonal mysteries, streamer challenges, and non-spoiler completion receipts.

PHASE 3

Enable creators

Case compiler, predicate safety, reusable schemas, managed proof infrastructure, analytics, and publishing workflow.

PHASE 4

Serve studios

Hosted integrity APIs for committed narrative state, bounded disclosure, private verdicts, and controlled reveals.

B2C

Premium case packs or a curated mystery library. Never sell deduction advantages.

B2B

Hosted infrastructure, usage-based orchestration, licensing, and integration support.

Possible moat

Validated case compilation, cross-language commitment tooling, creator workflow, tested cases, and integration experience—not blockchain alone.

How we will test the thesis
ActivationCompletionEngagementTrust comprehensionAnother-case intentRetentionPaid conversionCreator demandExternal integration time

PMF is not a slide. It is repeat use, retention, payment, and creator adoption.

08 · BUILD STATUS & LIMITATIONS

Playable now. Honest about what is not live yet.

This matrix is based on evidence in the current branch. It does not infer a capability from a product requirement or a diagram.

Practice investigation

Live in this build

Deterministic fixture session; no wallet or partner credentials required.

Cinematic browser game

Live in this build

Opening, museum, interviews, notebook, warrants, accusation, and verdicts.

64-case engine and predicates

Locally verified

Repository tests cover deterministic masks, query limits, and terminal outcomes.

Architecture and trust model

Designed

Documented as the intended live architecture, not a deployed claim.

Sui canonical Move state

Unavailable

No Move package, deployed package ID, or onchain session exists on this branch.

Groth16 verdict proof

Unavailable

No integrated circuit, verifier, or production trusted setup exists on this branch.

0G verified inference

Unavailable

Practice uses labeled scripted testimony and never claims live 0G verification.

Walrus encrypted persistence

Unavailable

No Blob ID or live storage receipt is produced in this build.

Seal policy reveal

Unavailable

No accepted/denied live authorization flow is wired here.

World AgentKit ranked permit

Unavailable

Ranked mode remains visibly unavailable and Practice does not emulate it.

Known limitations

  • Practice is fixture-backed and produces no live partner receipt.
  • The MVP contains one complete 64-case mystery.
  • Production trusted setup and external deployments are not complete.
  • Case commitment does not by itself prove unbiased randomness.
  • Ranked mode remains unavailable.
  • This checkout is missing the repository’s pinned sui-pilot documentation prerequisite, so ecosystem API validation is degraded until scripts/setup-sui-pilot.ps1 is run.

Deliberately not built

No speculative economyNo gameplay NFTsNo token-gated core mysteryNo trading dashboardNo purchasable advantageNo losing-solution leakageNo AI authority over truthNo generic agent shell pretending to be a game