Hot-Seat and Local Multiplayer Browser Games: Two Players, One Keyboard
Before online multiplayer was reliable enough to trust, two people crowded around one keyboard, splitting it down the middle, was how you played a game together. Browser games never really abandoned that option.
Online multiplayer gets most of the attention in modern browser gaming, but a meaningful slice of the genre still runs on the older, simpler model: two or more people, one screen, one device. No matchmaking, no server round-trip, no connection to drop mid-match. Just a shared keyboard or a couple of gamepads plugged into the same laptop.
Splitting a Single Keyboard
The most common approach for two-player browser games without controllers is a split keyboard scheme: one player gets WASD and a nearby key for their action button, the other gets the arrow keys and a key on the far side of the keyboard, like the numpad or the right shift key, far enough away that neither player's hands invade the other's space. This works because a standard keyboard reports every key independently and simultaneously — unlike some cheaper keyboards that suffer from "ghosting," where certain combinations of simultaneously pressed keys don't register correctly because of how the internal circuit matrix is wired. A game built for split-keyboard local multiplayer has to pick its two control schemes carefully to avoid exactly this problem, since a fighting game where both players need to hold a direction and press an attack button at the same instant will expose ghosting issues that a slower-paced game never would.
Two Controllers Instead of a Split Keyboard
Once the Gamepad API is in the picture, local multiplayer gets considerably more comfortable, because each player gets a full set of dedicated inputs rather than negotiating over half a keyboard. The browser reports every connected gamepad as a separate entry in an array, so a game just needs to assign player one to index zero and player two to index one, typically based on whichever pad the browser detected first. This is functionally identical to how local multiplayer works on a console, just running inside a tab instead of a dedicated game system, and it removes the keyboard-sharing awkwardness entirely for games willing to require external controllers.
Hot-Seat: Turn-Based Local Multiplayer
A different category of local multiplayer doesn't need simultaneous input at all. Hot-seat games — turn-based strategy games, board game adaptations, trivia games passed around a group — only need one player actively controlling input at a time, with a clear handoff moment between turns. This is mechanically much simpler to build than real-time split-control games, since there's no risk of input conflicts or ghosting to manage at all; the game just needs a clean "pass the device" screen that hides information the next player shouldn't see yet, like a hidden hand of cards or a fog-of-war map state, before handing control over.
The hidden-information problem is the actual design challenge in hot-seat games, more than the input handling. A card game passed hand to hand needs an explicit "your turn is starting, look away until you see this screen" moment, or the whole point of hidden information collapses the first time someone glances at the screen a second early.
Why This Hasn't Disappeared
Online multiplayer solved the problem of playing with someone who isn't in the same room, but it didn't solve, or even try to solve, the specific social experience of two people physically next to each other reacting to the same screen in real time. A couch co-op session has a texture — shared laughter, trash talk, someone grabbing the keyboard back — that a networked match between two people in separate rooms doesn't replicate, no matter how low the latency. Browser games that support this well tend to be built specifically around the assumption that both players can see and hear each other, which changes some design choices: a game meant for the same room can lean on ambiguous or teasing feedback ("someone made a mistake") that a networked game would need to make explicit, because in local play the players can just look at each other's screens and figure out who did what.
The Practical Limit
Local multiplayer in a browser tops out fairly quickly on player count, mostly because screen space and keyboard real estate run out well before server capacity would in an online game. Three or four players sharing one keyboard is uncomfortable in a way that three or four players connected over the network never is, which is why local browser multiplayer stays concentrated in two-player formats and rarely tries to scale beyond that without simply requiring everyone to bring their own controller.