A JavaScript implementation of the bridge game.
Switch branches/tags
Nothing to show
Clone or download
Latest commit 238f85e Dec 3, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
css add solve button Dec 3, 2018
img First commit Dec 2, 2018
js fix solution Dec 3, 2018
LICENSE Create LICENSE Dec 2, 2018
README.md Update README.md Dec 2, 2018
favicon.png First commit Dec 2, 2018
index.html First commit Dec 2, 2018
manifest.json fix manifest Dec 3, 2018
screenshot.png First commit Dec 2, 2018
sw.js fix solution Dec 3, 2018

README.md

Bridge

A JavaScript implementation of the bridge game.

bridge

A live version of it is hosted here

Rules

The farmer is the only one who can pilot the boat. The boat only carries two at a time. The goat can never be left alone with the cabbage, or it will devour it. The wolf also cannot be left alone with the goat, or it will eat it too. Can you cross them all?

How to play

Click on the farmer, wolf, goat or cabbage to enter or leave the boat. Click the boat to cross the river - it'll only do it if the farmer is inside.