/water-jug-solver

🪣 Solver for the Water Jug Riddle

Primary LanguageTypeScriptMIT LicenseMIT

Water Jug Solver

Water Jug Solver is released under the MIT license.

🪣 Solver for the Water Jug Riddle (famous from Die Hard 3)

See it in action!

✨ Features

  • Generate step-by-step solution for the Water Jug Riddle
  • Works with different jug sizes
  • Vector-based graphics help to visualize the solution
  • Enjoyed best on mobile
  • Tested on Safari, Chrome and Edge

🚀 Getting Started

  1. Clone this repo.

Use the GIT CLI to clone this repository.

git clone https://github.com/MartinDevillers/water-jug-solver.git
  1. Start developing.

Navigate into your freshly cloned directory and start up the server.

cd water-jug-solver
cd server
npm install
npm run dev

In a second terminal, run the following commands to start the client.

cd water-jug-solver
cd client
npm install
npm run dev
  1. Open the code and start customizing!

Water Jug Solver is now running at http://localhost:3000!