How to play Bridge: Hex board game rules and strategy
Updated
On this page
Bridge is a free Hex connection board game you play in the browser on a rhombus of hexagons. Two of the four coloured rails belong to you, on the left and right. The other two belong to the bot, along the top and bottom. You win by linking your two rails with an unbroken chain of your own tiles. The bot wins by linking its two. Tiles are never removed, moved or captured, so every placement is final.
Solo keeps working if your connection drops after the page has loaded. Multiplayer rooms need a connection to exchange moves.
Placing a tile
Pick a board size on the start screen. The size sets the board, the bot’s behaviour and the score multiplier together, so it is the only setting you need to think about.
Tap or click an empty hex. With a keyboard, Tab to the board, step between hexes with the arrow keys (one row or column at a time), and press Enter or Space to place. Home and End jump to the first and last hex of the current row. An occupied hex can be focused but not played, and the board ignores input while it is the bot’s turn. You always move first in a solo game, and the bot answers after about half a second.
Blocking and building are the same move
In most two-player games, attacking and defending are different actions. Here they are one, and it follows from the geometry. Your chain has to run left to right and the bot’s has to run top to bottom, so the two routes must cross. Every hex near that crossing is wanted by both of you. When you take it, your chain gets one step closer and the bot’s route has to bend around you.
That also explains why the game can never draw. Fill every hex in any pattern and exactly one player has a connection, never both and never neither. The game’s own test plays complete boards at all three sizes and asserts this every time. The practical result is that no purely defensive game exists: if you have sealed every route the bot has, you have already built your chain.
Two-way links: the pattern worth learning
A match in progress. Blue is you, linking left to right, and orange is the bot, linking top to bottom. Before each move, ask which empty hex both routes need.
You do not need to place every tile of your chain. Two shapes join up by themselves, because the opponent can take only one of the two cells that would cut them and you take the other.
- Two tiles that share two empty neighbours. On this grid an interior tile has six such positions around it (checked against the game’s neighbour table); near an edge there are fewer. If the bot plays in one of the two shared cells, you play the other and the tiles are joined. If it plays elsewhere, you did not need to answer.
- A tile one step in from a rail of yours. Its two neighbours on the rail are both empty, so it is attached unless the bot takes one, in which case you take the other. The same holds one step in from the far rail. Only at the ends of that line of tiles does one of the two cells fall off the board.
Chains built from these links are much shorter than they look, which is why the bot’s way of counting matters.
How the bot chooses
The bot measures a path by counting empty hexes: your own tiles cost nothing to cross, an empty hex costs one, and the opponent’s tiles block. On tuned and ruthless it tries every empty hex and scores two things: how short its own path would be if it took the hex, and how short yours would be if you took it instead. It plays the lowest total, with a small random nudge to break ties. So it takes the hex that helps both of you, which is why its moves so often land right in your way.
Because every empty hex counts as one tile, the bot values a two-way link at two tiles, not one. You can count a link as already made.
Loose does none of this. Once it has a tile it plays beside its own tiles 70 percent of the time and otherwise on any empty hex, so it builds clusters without reading your chain.
The three board sizes
| board | what the bot does | win multiplier | |
|---|---|---|---|
| loose | 5 by 5 | follows its own tiles, never reads yours | 0.7 |
| tuned | 7 by 7 | reads both paths, own path weighted 2, yours 0.5 | 1 |
| ruthless | 9 by 9 | same reading, yours weighted 1 | 1.4 |
The repository’s balance test plays each level against a fixed yardstick bot that only shortens its own path, alternating who opens. Over 200 games each, loose beats it in 0.5 percent, tuned in 43 percent and ruthless in 50.5 percent. The test also shows that weighing your path at 0.5 or at 1 makes the bot pick the same moves, with an identical 55.5 percent win rate on 9 by 9. The commit that added that test says so: ruthless is relabelled as the bigger board, not a smarter bot. Treat tuned and ruthless as one opponent on two board sizes. On 9 by 9 there are more routes to track and more turns in which to miss a cut.
Scoring a win
A win scores 100 + 4 per empty hex at the moment you connect, multiplied by the level (0.7, 1 or 1.4) and rounded. A loss scores zero and there is no timer in solo play.
- A tuned win in which you placed 12 tiles and the bot 11 leaves 49 - 23 = 26 empty hexes: (100 + 4 x 26) x 1 = 204.
- A loose win with ten empty hexes is (100 + 40) x 0.7 = 98.
- The most an opening player can score is a win in the fewest possible tiles, one per row, with the bot placing one fewer: 16 empty hexes on 5 by 5 is 115, 36 on 7 by 7 is 244, and 64 on 9 by 9 is 498.
The empty hexes only count after you win, so chasing a faster chain is worth nothing if it hands the bot a connection first.
Opening and the first-move edge
You open every solo game and the game has no swap rule that lets the second player take your opening tile. In the standard form of this game (Hex), the first player has a winning strategy with perfect play, which is why other versions add a swap. That is a theoretical result, not a promise about the bot, so treat the opening as an advantage to use, not a guarantee.
A centre tile gives you routes in several directions. After that, look at where the bot’s chain is heading and take the shared hex first.
Daily match and multiplayer, with honest limits
Today’s run seeds the bot’s random choices from the UTC day, the game and the level. Your first start on each size each day is the scored one, and the attempt is spent the moment you press the button, before the countdown. Later starts are practice and are not submitted. The attempt marker is stored in this browser. The seed fixes only the bot’s random nudges, so the bot answers the same way only if your moves match too.
Be aware that the server range-checks a daily score against the best possible for the level (140, 296 or 594) rather than replaying the match, so treat it as a lightly checked leaderboard, not a verified record.
Multiplayer is a private room: share the invite link, ready up and the host starts. The opponent’s moves are mirrored to your view, since each player sees their own chain run left to right. Room results are separate from the solo leaderboards.
Mistakes that lose games
- Reading only your own front tile. The hex that extends your chain may not be the hex the bot needs next. Check both before placing.
- Relying on a single gap. If a one-hex gap is the only way through, the bot can fill it. A two-way link cannot be cut, so build with those.
- Answering too late. When the bot plays one cell of a two-way link, answer with the other cell at once. Waiting lets it take both.
- Chasing the empty-hex bonus. Four points per empty hex is small next to a zero for a loss.
A practice route
- Loose: win a few games and notice how much of your chain you skipped because the bot ignored your links.
- Tuned: this is the real game. Try to win by relying on two-way links.
- Ruthless: the same opponent on a bigger board, where a mistake in the opening still matters twenty moves later.
Related games
- closure also rewards counting which move gives the next player control, using lines and boxes instead of hexes.
- overload lets a larger number take back an occupied square, so permanence is a very different decision.
- filter replaces an open board with a hidden target and questions that narrow the possibilities.
Written by the developer from the game's own code. Spot a mistake? hello@onedge.fun