Free tools & games for everyone
Free · No sign-up · No accounts
Play the connection game Y: join all three sides of a triangle of hexagons with one chain. No draws. Against the computer or a friend.
| Tap or click | Place a stone on a cell |
|---|---|
| Arrow keys | Move the cursor (click the board first to give it focus) |
| Enter or Space | Place a stone on the cursor cell |
| Undo | Takes back your last move (and the computer’s reply) |
Y was invented in the early 1950s by the mathematician Claude Shannon and, independently, by Craige Schensted and Charles Titus, who developed it further in the 1970s. Hex is a special case of Y: any Hex position can be played as a Y position, and like Hex, Y can never end in a draw.
The computer wins at once when it can and blocks a one-move win. Otherwise it plays Monte Carlo: it fills the board at random hundreds or thousands of times and picks the cell that most often belongs to its winning games. Hard plays the most games.
The tests replay random games and check every win against a separately written Python version, check that 300 random full boards always have exactly one winner, and that the computer takes a winning cell and blocks yours.
A fresh daily puzzle every morning, and new tools added every month.
Browse every product