I was thinking about this mini-game in a Sega Genesis game, where there are 5 vertical, straight, parallel, narrow islands and you pick 1. You walk up the island, and there are bridges randomly connecting adjacent islands. If you come to a bridge, you must cross it. It's a random chance way of picking a bonus prize, like drawing lots. Read the Wikipedia article, it's got a better description.
Anyway the Genesis game is very old and I thought it was pretty small and unknown, but I still found it. It's called Magical Hat no Buttobi Tabo! Daiboken. Aah, this brings back memories.