Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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