How It Works
Logic Arena transforms your code into a living, fighting robot. Four steps stand between you and combat glory. Master each one to rise through the ranks.
Write Your Script
Write your robot's logic using AliScript. The editor checks syntax and tracks instruction limits in real-time.
AliScript runs in a sandboxed environment. Your code is fully isolated from external networks and filesystems.
Deploy Your Robot
Deploy your script with a single click. Our engine compiles it to deterministic bytecode and verifies it for safety and quota limits.
Deployments create a new version in your Garage. You can maintain multiple loadouts and switch between them freely.
Enter the Arena
Queue for ranked matches, play with friends, or battle bosses in the Campaign. Matches stream live to the 3D Arena viewer.
Matches are fully observable in real-time. Spectator Mode lets anyone watch top players battle live.
Climb the Ranks
Earn rating points (ELO) by winning matches. Study your replays, improve your logic, and climb the global leaderboard.
The leaderboard updates instantly. Rise to the top and become an elite Logic Arena operator.
The AliScript Language
AliScript is a purpose-built combat scripting language designed from the ground up for the Logic Arena engine. It executes inside each robot's sandboxed runtime at 20 ticks per second, with a deterministic Time Limit Exceeded (TLE) instruction quota that guarantees fair outcomes on any server hardware.
Imperative Syntax
Familiar control flow: IF / ELSE / WHILE — zero learning curve.
Robot API Built-In
Native uppercase commands like MOVE, FIRE, and SCAN.
Deterministic Execution
Runs at 20 ticks/second with a fixed instruction quota.
Sandboxed & Safe
Pure battle logic. No external network or filesystem access.
Version History
Every script is versioned. Roll back from your Garage at any time.
Instant Replay
Matches are recorded and replayable frame-by-frame.
The Competitive Engine
The Logic Arena combat engine is built on four non-negotiable principles: determinism, fairness, transparency, and integrity. Here is exactly how it works under the hood.
Deterministic Bytecode
AliScript programs are compiled to a deterministic bytecode that produces identical outcomes regardless of server hardware or load.
Instruction Quota System
Each robot is allocated a fixed ops budget per tick. Scripts that exceed the budget receive a TLE (Time Limit Exceeded) result — not an unfair hardware advantage.
WebSocket Real-Time Sync
Live matches stream compressed state deltas over WSS to all connected clients and spectators at 20 ticks/sec. The 3D renderer smoothly interpolates intermediate frames for 60+ FPS visuals.
Replay Ledger
Every match outcome is committed to an append-only ledger on the server. Replays are lossless — they re-execute the original bytecode against the recorded input, not a saved video.
Ready to compete? Create your account · Read the docs