Simone Systems Research / Search laboratory

Build a challenge for two AI strategies.

Give two search methods the same puzzle and trial budget. Then compare their chosen moves with the best possible move. Doing more searching is useful only if it leads to better decisions.

Real classical AI search, running on your device. No account, model service or API key.

01 / Make a move

Can you beat perfect play?

Take either end. Your opponent replies. Each number scores points. Higher total wins.

You 0Your movePerfect opponent 0

Choose the left or right end. Hint: what can your opponent take next?

Make your own challenge

Change any of the six values, then apply. Each value must be a whole number from 1 to 9.

02 / Inspect the thinking

How each strategy spends its trials

These are actual sampled decisions, not scripted answers. Change the budget and rerun. A search can miss the best move.

Starting board 2, 3, 1, 1, 1, 1 | 8 trials | search seeds 45511 / 45511. Your game stays in place.

Method 1

Spread the trials

Give each first move equal trials. Play the rest at random.

Chooses left: take 2

48 measured transitions / 8 complete trials

Method 2

Build a search tree

Spend more visits on promising branches. At opponent turns, search for their advantage.

Chooses right: take 1

48 measured transitions / 8 complete trials

Check against perfect play

Optimal final margins: left -1, right 1. Perfect play prefers right.

Exact random-continuation margins: left 0.25, right -0.375. These evaluate a different opponent.

More trials give a steadier picture of what happens against a player who moves randomly. A strong player can choose very differently. Better sampling does not fix that wrong opponent assumption.

Open one possible future

    First 20 trials retained for inspection. Every trial still counts toward the decision.

    03 / Check the claim

    Compare strategies on matched challenges

    Run 128 paired challenges at each budget. The two methods swap seats on the same board. Then each faces the same perfect opponent. Custom boards and discovered cases stay separate from this fixed test.

    What makes this comparison fair?

    Each method gets 8, 32 or 128 full practice games for every real choice. Each practice game steps through the remaining gems. The 128 test boards use gem values from 1 to 3 and replay from the same seed. Counting game steps measures search effort, not wall-clock speed or cost.

    Wins count as 1, draws as ½ and losses as 0 across both seats on each board. The uncertainty range checks all three budget levels together so random luck is less likely to look like a real win. If that range crosses 50%, the test is too close to call. Running the same seed again repeats the same test rather than adding new evidence.

    Ready. Results are calculated here, when you run the experiment.

    Relative score and absolute quality, kept separate
    BudgetSpread vs TreeFinal bandAgainst perfect play
    Spread / Tree
    Move regret
    Spread / Tree
    Measured transitions
    No experiment run yet.

    If the result is inconclusive, this test cannot tell us which method is better. That is different from showing they are equally good. W, D and L count Spread’s wins, draws and losses across both seats.

    Move regret measures how many points the opening choice gives up compared with the best opening, assuming perfect play afterward. Smaller is better. The exact solver checks the search methods; it does not help them choose.

    04 / Make it yours

    Save a playable experiment

    Download a standalone playable lab with your starting board and search code. It runs offline. Recorded comparisons retain each strategy’s actual seed. Save the experiment receipt to inspect or reproduce the full test.

    Would you trust this claim?

    “At 128 trials, A beat B more often than at 8 trials.” Both methods received more trials. Does this prove A improved against a fixed opponent?

    How this works, credits and privacy

    This is a small math game that runs in your browser with repeatable random numbers. Spread tries both opening moves equally and picks the higher average score. Tree search revisits promising branches more often, assuming your opponent also looks for strong replies, and picks the most visited opening move. This is classical game search, not a language model.

    By Jonathan Simone. October 2026. Original diagrams and gem shapes. References: the original UCT paper, bounded-score statistics, Fact 1, Bret Victor’s exploration design, and Amit Patel’s visible search explanations.

    The activity uses page memory and makes no model or API calls. Downloads are created on your device. Refresh clears the activity. Not yet tested with learners.