Players meeting in North Haven, online.

Online

Reactor_online_classic

reactor_online_classic.js · 552 lines · 10 public functions

Players meeting in North Haven, online.

What This Module Does

reactor_online_classic.js: other players on your Classic battle screen The same shape as a shared Tactical battle (reactor_online_battle.js): the game that started the battle hosts it and rolls every action, and each player who joins runs a battle screen that plays what the host reports and sends back its orders.

Classes & Namespaces

Design Notes from the Source Code

reactor_online_classic.js: other players on your Classic battle screen The same shape as a shared Tactical battle (reactor_online_battle.js): the game that started the battle hosts it and rolls every action, and each player who joins runs a battle screen that plays what the host reports and sends back its orders.

Join the host's side: their actors stand in each other's parties, and the troop is the same. Fight them: each sees the other's party as the troop. The host's own monsters are on a challenger's side, so a challenger's screen doesn't show them; what they do is told in the battle log.

A mirror runs turn by turn whatever the project's battle system is: the host's clock decides when each order is wanted. Battlers are named by keys every game understands: h<actor>, e<troop index>, g<slot>.<actor>. Design: docs/DESIGN-ONLINE.md#shared-battles.

Someone else's actor in this game's party, for one battle.

View reactor_online_classic.js on GitHub · Hide internal (_) functions