Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lulunac27a/infinitely-roll-dice-game
Dice rolling game with infinite number of rolls until the rolled number is not the number of sides
https://github.com/lulunac27a/infinitely-roll-dice-game
dice dice-game dice-roll dice-roller ipynb ipython ipython-notebook ipython-notebooks ipywidgets jupyter jupyter-notebook jupyter-notebooks python python-notebook python-notebooks score
Last synced: 10 days ago
JSON representation
Dice rolling game with infinite number of rolls until the rolled number is not the number of sides
- Host: GitHub
- URL: https://github.com/lulunac27a/infinitely-roll-dice-game
- Owner: lulunac27a
- Created: 2024-08-29T00:44:57.000Z (5 months ago)
- Default Branch: master
- Last Pushed: 2024-10-30T22:02:59.000Z (3 months ago)
- Last Synced: 2024-11-13T00:43:29.655Z (2 months ago)
- Topics: dice, dice-game, dice-roll, dice-roller, ipynb, ipython, ipython-notebook, ipython-notebooks, ipywidgets, jupyter, jupyter-notebook, jupyter-notebooks, python, python-notebook, python-notebooks, score
- Language: Jupyter Notebook
- Homepage:
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dice Game that Infinitely Rolls Until the Rolled Number is not the Number of Sides
This repository is a dice game using Jupyter Notebooks from iPython that rolls infinitely until the rolled number is not the number of sides of the dice. It uses `ipywidgets` to use widgets for sliders to change the number of sides of dice and a button to roll dice.
## Files
- infinite_dice_roll.ipynb: Roll a six-sided dice infinitely number of times until the last rolled dice is not six.
- infinite_dice_roll_with_sides.ipynb: Roll a die with a specified number of sides infinitely a number of times until the last rolled dice is not the number of sides of the dice