Piko Game

PIKO · LEARN & EXPLAIN

Connect every island: when the cheapest line is a trap

Compare total costs, spot a loop and connect every island without wasting a line.

By Piko Game · Updated

Before you start

Use addition and compare whole numbers. Start on paper without a timer. Letters name islands; a cost is a puzzle number, not a real energy measurement.

Work through this example

Connect A, B, C and D using exactly three of the six lines in the table. You can travel along each chosen line in either direction. Every island must be reachable from every other, and the total cost must be as small as possible.

Available lines and costs
LineCost
A–B1
B–C2
A–C3
C–D4
B–D6
A–D7

Reason step by step

  1. Take A–B for 1, then B–C for 2. A, B and C are now one connected group. D is still alone.
  2. Skip A–C for 3. A already reaches C through B, so this line would close a loop without bringing D into the group.
  3. Take C–D for 4. All four islands connect, using three lines. The total is 1 + 2 + 4 = 7.
  4. Why is 7 the minimum here? Any solution needs a line to D costing at least 4. Its other two distinct lines cost at least 1 and 2. That gives a lower bound of 7, achieved by this network.

A mistake worth understanding

Choosing the three cheapest lines costs only 6 but leaves D isolated. Connecting everything is essential. A–B, B–C and B–D connects all islands for 9, but it is not the cheapest network.

Try it yourself

Keep every cost except B–D, which now costs 3 instead of 6. Which three lines would you choose? Explain why keeping A–C for 3 still does not help.

Show the answer and reasoning

A–B, B–C and B–D cost 1 + 2 + 3 = 6 and connect all islands. A line reaching D costs at least 3, and two other distinct lines cost at least 1 and 2, so 6 is minimal. A–C would only close the A–B–C loop.

Use the idea in the game

Open Island Grid in Logic Lab. Level 1 has five islands, level 2 has six; connect them with four or five lines respectively. Compare the printed costs, not how short lines look. Before submitting, trace a route to every island and check for loops.

Open the activity →

About & help

These examples were written for Piko Game. Generated game questions may differ. A score describes a game attempt, not mastery of a school curriculum.

Content and corrections

Found an error? Send the page address and the step that needs checking to j565718319@gmail.com。

What each learning map contains