Skip to content

vifon/buckets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Pseudo-game based on this puzzle:
"You have a 3 and a 5 litre water container, each container has no markings except for that which gives you it's total volume.
You also have a running tap. You must use the containers and the tap in such away as to exactly measure out 4 litres of water.
How is this done?"

You can pass alternative sizes of the buckets in two arguments.

Controls:
u - fill the left bucket
i - fill the right bucket
j - empty the left bucket
k - empty the right bucket
h - pour the water from the right bucket to the left
l - pour the water from the left bucket to the right
q - quit

Victory is NOT signalized in any way.

About

A simple game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages