Skip to main content

The 'Wolf-Goat-Cabbage' game with Jupyter Notebook

Project description

Wolf Goat Cabbage game with Jupyter Notebook

The goal is to make the wolf, the goat and the cabbage cross the river with a two-seats boat. The wolf cannot be left alone with the goat and the goat cannot be left alone with the cabbage.

There are two ways to interact with the game :

  • Using the buttons
  • Execute code in the cells below the visualisation

Link to the Demo.ipynb

Binder : Binder

Dependencies:

  • ipywidgets
  • notebook
  • traitlets

Install

pip install ipywidgets_game_wolf_goat_cabbage

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ipywidgets_game_wolf_goat_cabbage-0.2.0.tar.gz (252.4 kB view hashes)

Uploaded Source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page