Skip to content

g-a-borrero/diceroller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

diceroller

Flask-based dice roller

Running

  1. Make sure you have installed Flask.
  2. Open terminal or command prompt.
  3. Navigate to where you have saved the roller file.
  4. Enter python diceroller.py in terminal/command prompt.
  5. Open the URL that appears in the browser of your choice.

Usage

  • ndx: Rolls n die with x sides.
  • ndxroy: Rolls n die with x sides, re-rolling the number y the first time it appears.
  • ndxrry: Rolls n die with x sides, re-rolling the number y every time it appears.
  • ndxkhy: Rolls n die with x sides, keeping the highest y rolls.
  • ndxkly: Rolls n die with x sides, keeping the lowest y rolls.

Goals

  • Make a basic dice roller
  • Add rerolling once functionality {diceroller.py}
  • Add multiple reroll functionality {diceroller.py}
  • Add keep highest roll(s) {diceroller.py}
  • Add keep lowest roll(s) {diceroller.py}

Releases

No releases published

Packages

No packages published

Languages