Reduce your opponent's HP to 0 by writing conditional statements that execute based on the game state.
Starting Conditions
Both players start with 20 HP and 0 Shield. Use the coin flip to determine who goes first.
Turn Structure
On your turn, create a conditional statement with three parts:
IF Target: Choose "self" or "opponent" to check their state
Condition: Check if they have shield, no shield, HP < 10, or HP > 10
THEN Action: Deal 4 damage to opponent, gain 3 shield, or heal 2 HP
Alternatively, you can skip your turn to re-evaluate all existing statements without adding a new one. This allows you to set up recursive loops where the same player can have multiple statements execute in sequence.
Non-Linear Execution
After each turn, ALL statements from both players are re-evaluated. This means:
Your early statements can trigger based on changes made by later statements
Opponent statements can trigger based on your actions
Chain reactions and combos emerge from interacting conditions
Shield Mechanics
Shield protects HP from damage and can be gained through healing overflow:
Damage hits shield first, then HP
Shield caps at 10
When healing above 25 HP cap, excess becomes shield (up to cap)
Skip Turn
Either player can skip their turn to re-evaluate all statements without adding a new one. This is crucial for:
Setting up recursive loops where statements trigger each other
Allowing a single player to have multiple statements in a row
Letting complex conditional chains play out
Strategy Tips
Create defensive statements that trigger when you're low on HP
Set up offensive traps that fire when your opponent builds shield
Use "opponent" conditions to turn their strategy against them
Remember: ALL statements execute EVERY turn if their conditions are met