HumanDebugminigames & tests

Your streak

How it works

The site has a new address

We're now at humandebug.eu. We've brought over the progress saved in your browser.

If you had an account, sign in again: your leaderboards, records and streak are waiting for you, nothing has been lost.

Sign in

The bridges of Königsberg: the puzzle that invented graphs

By Luigi Federico · updated

In the eighteenth century, Königsberg had seven bridges linking the river banks and two islands. The townspeople wondered whether you could take a walk crossing all of them exactly once. Nobody managed it. In 1736 Euler proved it was impossible, without even trying.

Play Bridges3 min, new every day, free

Euler's reasoning

Euler noticed that the only thing that matters is how many routes touch each area. Every time you enter an area you also have to leave it, so areas you pass through have an even number of bridges. Only the start and the finish can have an odd number.

In Königsberg all four areas had an odd number of bridges: the walk was impossible. From this idea, reducing a map to points and links, graph theory was born.

How to play Bridges

Each map is a grid of squares: land, water and crossings (bridges, doors or gates). With a single line you have to cross every land square and every crossing, exactly once. You go straight across crossings.

Five maps a day, up to 200 points each: 120 for solving it and up to 80 for speed. You get up to three different hints per map.

Strategy: start in the right place

As Euler teaches, the secret is where you start. Look for squares with only one possible exit: they are almost always the start or the finish. Corners and dead ends must be visited first or last, never halfway.

If you get stuck, trace back over the line with your finger: it pays to notice early.

Frequently asked questions

Can you cross each bridge of Königsberg exactly once?
No: Euler proved in 1736 that it's impossible, because all four areas had an odd number of bridges.
What is an Eulerian path?
A path that uses every link of a graph exactly once. It exists only if the number of areas with an odd number of links is zero or two.
Does every Bridges map have a solution?
Yes, every map is generated and checked so that it has at least one.
How many maps are there each day?
Five, always different: islands with bridges, rooms with doors, pens with gates.
What happens if I get stuck?
You lose 15 points and can go back by tracing over the line. "Skip" shows the solution, but the map scores 0.
Are the hints always the same?
No: three per map, each one different (where to start, where to finish, the first 7 squares), 30 points each.
Is it free? Do I need to sign up?
Yes, it's free and you play in your phone or computer browser, with no app and no sign-up. An account is only needed to join the leaderboard and keep your results across devices.
When does the challenge change?
Every day at midnight, Italian time. The challenge is the same for everyone, and you can replay the previous 7 days or practise with ever-new games that don't count for the leaderboard.

Source: L. Euler, Solutio problematis ad geometriam situs pertinentis (1736).

Educational content, not medical or psychological advice.

More guides