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
Dependencies:
- ipywidgets
- notebook
- traitlets
Install
pip install ipywidgets_game_wolf_goat_cabbage
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for ipywidgets_game_wolf_goat_cabbage-0.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9ee16fcce2ebf6202319002f93e7917a76c8916fdc695a97617ff5f685df089 |
|
MD5 | a49f9ac48df93b2f2e9c05a7e1507f6d |
|
BLAKE2b-256 | 220f98b867f2476fed340dc8ee98a8326c13f0adfbd68cda2999fba55ef82d39 |
Close
Hashes for ipywidgets_game_wolf_goat_cabbage-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3be35f1c38d70816756857942191df8f9feb37eb2f9577da76ee5f9359b414bc |
|
MD5 | 92696e498c7ec44724f4ac8fd4f24f4a |
|
BLAKE2b-256 | 132450396a7475b472048739c21e173f116147d25d3c6aa09e855612f4e197ce |