Make the Opponent Follow Your Economic Rules Every Turn

Give both programs the same budget and costs, then make timing and relay ownership decide the puzzle.

Seele Editorial TeamUpdated November 18, 2026

In the fictional Relay Circuit, two programs compete to claim a neutral relay. Each starts with 4 credits, holds at most 8, and queues up to two commands per round. Moving costs 1, claiming an adjacent relay costs 2, and striking an adjacent rival bot costs 3. At the income phase, each home core yields 2 credits and each controlled relay yields 3. A failed claim costs nothing, and visible initiative resolves a simultaneous claim. In the fixture, both players move toward the center; the first claims it, then receives relay income. A neutral-relay control gives both sides only their home income. The local test checks these fictional economic rules, not opponent intelligence or game balance.

Define one economy for both programs

Store costs and income in one rules table that both sides call. In Relay Circuit, each program begins with 4 credits and has a cap of 8. A move costs 1, a claim on an adjacent neutral relay costs 2, and a strike against an adjacent bot costs 3. Each program may queue at most two commands in a round. The home core adds 2 credits at income time; each controlled relay adds 3. A command that cannot take effect, such as a claim on a relay already owned, charges nothing.

Keep ownership, initiative, and behavior policy separate from the economy. Initiative decides who resolves a simultaneous claim first, but it does not change that command's cost or reward. The rival can choose a different script or make a mistake; it still reads the same balance, pays the same prices, and receives the same income for equivalent holdings. Show current credits, command costs, and the next income phase so the puzzle depends on planning rather than hidden exceptions.

Two color-coded robot programs approach a glowing neutral relay on a compact strategy board.
Both programs compete for the same relay under one shared economy.

Program a relay race with visible initiative

Start both sides at 4 credits with one home core each and one neutral center relay. Give both a two-command queue. In the fixed fixture, each program moves toward the relay for 1 credit. The first initiative slot claims it for 2; the second claim fails because the relay is no longer neutral and costs nothing. After commands resolve, the owner has 1 credit and the rival has 3. At income time, the owner receives 2 from home plus 3 from the relay, reaching 6; the rival receives 2 from home, reaching 5.

Display the command queue, initiative marker, claim result, and before-and-after balances. Do not give the opponent extra starting credits, free strikes, or a special relay bonus. The rival's choices can create pressure, while the shared economy makes each outcome traceable. If a player cannot explain a balance change from a command or income event, log the event and correct the rules presentation.

An initiative marker resolves two programmed bots reaching the same neutral relay.
Visible initiative resolves the claim while a failed command costs no credits.

Compare relay ownership with a neutral control

Replay the fixture with relay capture disabled. Both programs begin at 4, spend 1 to move, then receive 2 home credits. With no relay income, each ends the income phase at 5. For a simpler no-command control, begin at 4 and apply only home income: both reach 6. The exact same function should calculate both sides' balances, applying the 8-credit cap in either case.

Use the control to catch asymmetry: swap player and rival labels, replay the same commands, and check that only initiative or relay ownership changes the result. Record starting credits, each paid or refunded command, holdings, income, and ending balance. Relay Circuit and all values are fictional; this local fixture confirms only shared costs, income, command limits, and the described claim resolution.

One bot holds the relay as equal credit counters show its income advantage.
Relay ownership changes income; the rules remain the same for both sides.

Ask an AI game maker to prototype a fair economic puzzle

Create a turn-based programming puzzle strategy game called Relay Circuit. Two programs start with 4 credits, a cap of 8, one home core, and at most two queued commands per round. Shared costs: move 1, claim an adjacent neutral relay 2, strike an adjacent rival bot 3. At income time, each home yields 2 and each controlled relay yields 3. Failed claims cost zero. A visible initiative order resolves simultaneous claims. Run a fixture where both move toward one neutral relay: the first claims it. Show both balances before and after commands and income. Add a control with relay production disabled so both sides receive only home income. Use the same economy function for either side and report any asymmetric result.

Verify both sides use the same start balance, cap, command costs, two-command limit, and income function. In the relay fixture, the first side moves and claims: 4 - 1 - 2 + 2 home + 3 relay = 6. The second moves; its failed claim is free, then home income yields 5. With relay income disabled and no commands, both go from 4 to 6. Swap player labels and confirm that only initiative or ownership changes the result.

Build a programming strategy game with SEELE

FAQ

How do I make a strategy-game opponent use the same economy as the player?

Run both sides through the same balance, cost, cap, and income functions. Keep the opponent's decision policy separate from those rules. Log each command payment, refund, ownership change, and income event so a player can trace why either side has a particular balance.

How can initiative create a fair programming puzzle?

Show the initiative order before commands resolve and use it only to break timing ties. In a relay race, the first valid claim takes the neutral objective; a later failed claim costs nothing. The order changes access to the objective, not the price or income formula.

What should I test in a shared-resource strategy prototype?

Compare a contested objective with a neutral control, then swap player labels. Check starting credits, command limits, costs, refunds, production, and the balance cap for both sides. The same inputs should produce symmetric results unless ownership or visible initiative explains the difference.

Scope and limitations

    SEELE AI

    Turn this guide into a playable build.

    Start with a focused brief, then iterate in the Seele AI Workspace.

    Start creating