Can you play a browser game with friends in another country?

Updated on

Yes, you can play a browser game with friends in another country, joining the same match through the same code because the connection runs over the internet wherever you live. Distance adds a short delay to what you see of the other players, rather than creating a barrier. Boomer Brawl works this way: the host shares a code of six characters, up to three friends join from wherever they are, and each player's own character answers their thumb at once.

Distance adds a delay, not a wall

Distance between players introduces a short time lag to their match, but it does not stop anyone from playing together. The Cloudflare Learning Center article, What is latency?, defines latency as the time data takes to get from one point on a network to another. That guide gives the example of a packet from New York to London that takes a hundred and forty-five thousandths of a second.

The guide explains that distance is one of the principal causes of this delay. Latency can never be removed completely from an internet connection, only made smaller.

Because of this, a friend on another continent can play in the match. Their moves simply reach the game a little later than the moves of a friend in the same town.

Where the match runs

The match runs directly on the device of the host, rather than on an outside game server. The host's game coordinates the match for everyone, while the other players send their moves to it and draw what it sends back.

Network traffic between the players travels through Unity's relay. Unity documentation on relay servers says they are public meeting points every player can reach. Because of this, nobody needs anyone else's address, and home routers and firewalls do not get in the way.

Unity documentation on relay locations and regions lists regions in the Americas, Europe, Asia and Australia. That documentation says a region is usually picked by measuring the connection's quality, or else from where the request comes from. In the game, the host's game asks for the relay when the host opens the match, so it is picked from the host's side.

What lag looks like in a match

Lag in a match appears as a minor delay in what you see of other players and when impacts register. Your own character moves the moment you push the stick, on your own screen, because the game does not wait for the host to say so.

Everyone else is drawn a tenth of a second behind the newest word from the host. This buffer allows other characters to move smoothly, but they appear slightly late, and later still the further you are from the host.

Hits, falls and comebacks are the host's to decide, so they reach you after the trip to the host and back. A blow you saw land can miss, since the host checks it where the others stood on the host's own screen. If nothing reaches you from the host for ten seconds, the game tells you it lost the connection to the host. Online the pause does not stop the match, so a player who looks away is still in it.

Who should host when friends are far apart

When friends live far apart, the player who lives closest to the majority of the group should host the match. The match is decided where the host is, so picking a host where most of the players are reduces delay for the largest number of people.

You should also pick the player with the steadiest connection. Cloudflare's guide says a cable instead of Wi-Fi gives a more consistent connection, and that more bandwidth is no guarantee of speed.

The host keeps the game's tab in front for the whole match, since a browser slows a hidden tab down. If the host's line drops, the match ends for everyone. Anyone can host the next one, so the player with the next steadiest line takes over.

Joining from another country

A friend abroad joins a match using the exact same steps as anyone else. They can open the link the host sent, which fills in the code, and press Join. Alternatively, they can press Play, then the Join tab, type the code and press Join.

There is no region or server to pick in the game, and no setting for the country you play from. Everyone enters the match through the same simple interface.

A friend who arrives late joins the match already running, and a bot takes over the seat of anyone who leaves. Friends should agree on a time first, because the code finds the match only while the host has it open.

A slow line is enough

A slow broadband line is sufficient for playing together, because an online round sends very little data. A match uses about about 21 kB a second, sent and received together, which totals about 4 MB for a round of three minutes. The guide on how much data a browser game uses has the rest.

Because the data packets are small, distance matters more than speed. A modest connection carries the match, and the delay comes from the trip, not the size.

How Boomer Brawl does it

Boomer Brawl is free in the browser with nothing to install, so a friend abroad only needs the link. The host shares a code of six characters and up to three friends join, wherever they live, on a phone, a tablet or a laptop.

The guide on how join codes work explains the code, and play with friends has hosting and joining step by step. Boomer Brawl needs only the link to play across borders: play a round.

Common questions

Can friends in different countries join the same match?

Yes. The code works from anywhere, and everyone joins the same match whatever country they are in.

Does the game pick a server near me?

No. The relay is not picked near each player, because it is picked from the host's side when the host opens the match.

Will a friend on another continent lag?

Yes. The others reach them a moment late and hits land after the trip to the host, but their own character moves at once.

Do friends abroad need a region or server setting?

No. There is nothing to pick, and everyone joins by the same code.

Who should host when players live far apart?

The player with the steadiest connection, where most of the players are, should host because the match is decided on the host's side.

Sources

Keep reading