Skip to content

Latest commit

 

History

History
8 lines (5 loc) · 658 Bytes

README.md

File metadata and controls

8 lines (5 loc) · 658 Bytes

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