Toys

Groth16 proof-of-hit lab

ZK Battleship

Play 6x6 Battleship against a local AI. Each board commits before the first shot, and every hit or miss gets a browser-generated proof against that root.

idle Place length 3

Your Fleet

0 / 7 hits

Root ...

AI Waters

0 / 7 hits

Root ...

Transcript

none yet

setup pending

    Verifier

    paste JSON
    Awaiting transcript.

    What the proof checks

    Each player commits to a hidden valid fleet before the first shot. After every shot, the browser makes a Groth16 proof that the announced hit or miss matches the committed board, without revealing any unshot cells.

    The copied transcript lets anyone verify the setup proofs, shot proofs, legal turn order, repeated-shot rule, hit counts, winner, and transcript hash. It proves that each player followed the rules without revealing their strategy.

    Turn on Manual AI result to answer the AI's shots yourself. If you lie about hit or miss, the shot proof fails before the move enters the transcript.