A simple program which simulates rolling a die/dice using the random module in Python.
- Copy code into any IDE supporting Python.
- The random module should automatically be imported through the 'import random' statement.
- Run code, it will give you the option to roll one or two dice. This must be answered as an integer (1 to roll one dice, 2 to roll two dice).
- After selecting what to roll, the program will automatically roll the die/dice.
- After it has rolled you can than select if you would like to roll again.
- For the question that contains (y/n), answer using y or n. y = Yes, n = No.
This is obviously a very simple project but if you feel like a change should be made, pull requests are welcome.
- Made using Python and the built-in random module.
- Created using the PyCharm IDE by JetBrains.
- Inspired from: https://bit.ly/311p5S1 (A upGrad Blog Article on 42 Exciting Python Project Ideas & Topics for Beginners).
- This was created by myself, I just got the idea from the article featured above.
- Jack O'Keeffe - https://github.com/jackokeeffe