This is a simple Python program that simulates rolling a dice. Each roll generates a random number between 1 and 6, and the corresponding face of the dice is displayed in the console.
How It Works The program uses Python's random module to generate a random number between 1 and 6. Based on the generated number, the program prints the corresponding dice face using ASCII art. After each roll, the user is prompted to roll again or exit the program. Usage Clone the repository:
bash Copy code git clone https://github.com/Divyesh-20/Dice_Simulator_basic.git Navigate to the project directory:
bash Copy code cd Dice_Simulator_basic Run the program:
bash Copy code python dice_simulator.py Follow the prompts to roll the dice. Press y to roll again or n to exit.
Example Output