← Back to portfolio labs
⏱ Timer 00:00 Waiting…

🗺️ Map Colouring

Colour adjacent countries with different colours. Can you do it with just 4?

📖 How to Play

1. The 4-Colour Theorem states that any map can be coloured with only 4 colours so that no two adjacent regions share the same colour.

2. Select a country on the map or graph (it will glow gold).

3. Choose a colour from the palette below (Yellow Ochre, Blue, Green, Purple).

4. If you pick a colour that matches a neighbour, the neighbour will flash RED to warn you.

5. Switch views: Click "Graph" to see the adjacency network.

6. New Map: Generates a fresh organic map with a new set of borders.

7. Goal: Colour the entire map with 0 conflicts.

⚙ Map Size

🎮 Controls

👆 Moves

0
colour changes

🚫 Conflicts

0
adjacent matches
1
2
3
4
Select a country to start

📊 Stats

Regions0
Total Edges0

Best MovesNot yet
Best TimeNot yet
Solves0

🗺 Legend

1 (Ochre)
2 (Blue)
3 (Green)
4 (Purple)
Conflict