Creating a Lobby
Last updated
Last updated
Lobby has a Tier and ID.
Players can simply copy the link to a lobby to invite enemies. e.g. - https://impulsedao.xyz/Vara-Arena/lobby/15
The first player who registered for a Tournament sets the current ladder (ie difficulty level) based on the current gladiator level LevelUp.
Battle system - Lobby for four players creates 2 pairs and execute their battles asyncronously.
p1 x p2
p3 x p4
winners of previous battle.
Why do we reserve gas for 4 player lobby?
A battle consists of 25 turns each, which results in ~ 53 messages between onchain actors, and gameplay execution;
Each battle takes around 250 bln gas;
Gas reservation allows Arena contract to continue battle logic execution using the reserved balance.
What's gas reservation?