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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file ipywidgets_game_wolf_goat_cabbage-0.2.0.tar.gz.

File metadata

  • Download URL: ipywidgets_game_wolf_goat_cabbage-0.2.0.tar.gz
  • Upload date:
  • Size: 252.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3

File hashes

Hashes for ipywidgets_game_wolf_goat_cabbage-0.2.0.tar.gz
Algorithm Hash digest
SHA256 b9ee16fcce2ebf6202319002f93e7917a76c8916fdc695a97617ff5f685df089
MD5 a49f9ac48df93b2f2e9c05a7e1507f6d
BLAKE2b-256 220f98b867f2476fed340dc8ee98a8326c13f0adfbd68cda2999fba55ef82d39

See more details on using hashes here.

File details

Details for the file ipywidgets_game_wolf_goat_cabbage-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: ipywidgets_game_wolf_goat_cabbage-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 256.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3

File hashes

Hashes for ipywidgets_game_wolf_goat_cabbage-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3be35f1c38d70816756857942191df8f9feb37eb2f9577da76ee5f9359b414bc
MD5 92696e498c7ec44724f4ac8fd4f24f4a
BLAKE2b-256 132450396a7475b472048739c21e173f116147d25d3c6aa09e855612f4e197ce

See more details on using hashes here.

Supported by

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