Skip to main content

Engine Overview

The Orbs Battle Game runs on a fully deterministic physics engine at 120 Hz, enabling trustless verification and replay.

Core Principles

PrincipleDescription
Fixed Timestep120 frames per second physics simulation
DeterminismIdentical outcomes from identical seeds across any platform
ModularityConfigurable parameters without code changes
Blockchain-ReadyCryptographic hashing of configurations and states

Simulation Pipeline

Each frame executes a multi-phase update cycle including position updates, collision detection, gravity application, tether mechanics, and economic scoring.

Determinism Guarantees

The engine ensures byte-identical results across any platform:

  • Cryptographic seeding from ICP canister
  • Deterministic math with lookup tables
  • Integer arithmetic for economic calculations

Every game can be replayed from its seed for trustless verification and dispute resolution.

Current Configuration

CategorySettings
ArenaCircle, 190px radius
PhysicsSlightly super-elastic (1.08 wall, 1.008 orb-orb)
Speed4.0-9.5 normal, up to 25.0 endgame
SpawningRing-based, stationary start
GravityMinimal base, oscillates below 3 orbs
Tethers200-frame immunity, 7.5 break speed minimum
SplitsDisabled
Sudden DeathAt 5 seconds, 16x gravity, spiral center
ShockwavesEnabled, triggered by impacts and splits

Next Steps