Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎲 Python ASCII Dice Roller

A simple command-line program that simulates rolling any number of six-sided dice and displays the results using ASCII art.

This project is written in Python and separates the main logic (code.py) from the dice art module (dice.py).

🚀 How to Use

To run this program, you must have Python 3 installed on your system.

  1. Download the files:

    • Click the green <> Code button on this page and select Download ZIP.
    • Extract the ZIP file to a folder on your computer.
  2. Open your Terminal:

    • Windows: Open Command Prompt or PowerShell.
    • Mac/Linux: Open Terminal.
  3. Navigate to the folder:

    • Use the cd (change directory) command to move into the folder you just unzipped.
    • Example: cd C:\Users\YourName\Downloads\Python-Dice-Generator
  4. Run the program:

    • Type the following command and press Enter:
    python code.py
    • (Note: On Mac/Linux, you may need to use python3 code.py)
  5. Follow the prompts:

    • Enter the number of dice you wish to roll.
    • Enter 0 to exit the program.

About

A command-line dice rolling simulator with ASCII art.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages