Playing with others

Island, and any last-one-standing game made from the same parts, can be played by up to 16 people, with bots in every place nobody takes. Each player takes a bot's place, and a bot takes it back if they go.

Playing

Through a relay (no port to open)

A host behind a home router or a firewall cannot be reached directly. A relay is a small program on a machine with one open UDP port that both sides connect out to; it passes datagrams between the host and its guests by room code, and never reads them.

A relay holds up to 2000 rooms of 63 guests, forgets a peer that has been silent for a minute, and refuses anything that is not its protocol. It has been tried on one machine (a relay, a server behind it and a stand-in player joining by code: the lobby filled and the match played) and never over the internet; no relay is run for you, so you need one of your own.

neux visit --project PATH --address HOST:PORT --name NAME is a stand-in player with no window. It takes a gun, keeps inside the zone and goes for whoever is nearest, badly. It is how the gates and the numbers below try a match with others on one machine.

How it works

One machine runs the rules: the player who hosts, or neux serve. It has every bot, the zone, the damage, the loot and the cars nobody drives.

The code is crates/ae_cli/src/online.rs on top of crates/ae_net/src/session.rs. Both machines must hold the same scene: the host turns away anything else.

What it does not do yet