Back to Home
Platform Guide

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.

Last updated: June 2026
6 Sections
01

Write Your Script

Write your robot's logic using AliScript. The editor checks syntax and tracks instruction limits in real-time.

AliScript supports conditionals, loops, dictionaries, arrays, sensors, math helpers, and Swarm communication while staying inside the AST sandbox.

02

Deploy Your Robot

Deploy your script with a single click. The server parses it, validates it against sandbox limits, and binds it to your selected robot loadout.

Your profile stores scripts, match mode preference, chassis, paint, tracer, arena preferences, and notification settings.

03

Enter the Arena

Choose PvP Arena matches, Practice vs AI, friend challenges, tournaments, sandbox modes, or PvE Campaign levels. Matches stream live to the 3D Arena viewer.

Practice vs AI supports Easy, Medium, and Hard bots across all five game variants. Campaign fights support server-side pause/resume and temporary replay controls. Multiplayer arena matches do not pause; they run as live competitive sessions.

04

Climb the Ranks

Earn rating points by winning arena matches, campaign points by clearing levels, and AI practice bonuses from authenticated difficulty-tagged matches. Study replays, improve your logic, and climb the global leaderboard.

Victory modals count campaign points and stars immediately while preserving your best-star record for each level. Guest match summaries show live stats temporarily without writing profile or leaderboard records.

05

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 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 under a fixed instruction quota, not hardware-dependent timers.

Sandboxed & Safe

Pure battle logic. No external network or filesystem access.

Persistent Loadouts

Scripts, match mode preference, chassis, paint, and tracer choices are saved to your profile.

Replay Review

Arena matches persist replay data; campaign fights use temporary review frames.

06

The Competitive Engine

The Logic Arena combat engine is built on determinism, fairness, transparency, and integrity. Arena PvP, campaign PvE, replay review, and spectator views all derive from server-owned state rather than client-side trust.

AST Sandbox

AliScript is tokenized, parsed, and interpreted through a whitelisted AST evaluator. It has no access to browser storage, Node APIs, the filesystem, or external networks.

Instruction Quota System

Each robot is allocated a fixed operations budget per logic tick. Scripts that exceed the budget receive a TLE result, so hardware speed never decides a match.

WebSocket Real-Time Sync

Arena matches stream compressed state deltas over WSS to players and spectators. The 3D renderer interpolates between server snapshots for smooth high-refresh visuals.

Campaign Fixed-Step Runner

Campaign fights use a server-side CampaignSession that advances fixed 60 FPS simulation steps and shares the same CAMPAIGN_MATCH_MAX_STEPS timer with the client.

Replay Model

Arena match replays are persisted as snapshots for later viewing. Campaign replay controls are temporary in-memory review tools for the active level attempt.

Practice vs AI Scoring

AI matches use first-party bot scripts across Easy, Medium, and Hard tiers. Authenticated rewards are calculated server-side from the selected mode, final performance, and difficulty multiplier.

Ready to compete? Create your account · Read the docs

PROFILE
FRIENDS
GARAGE
ALISCRIPT
BLACK MARKET
SETTINGS