loading...
Cover image for Digital Dice using Python

Digital Dice using Python

dhanushxeno profile image DHANUSH N ・1 min read

All I wanted was to create a dice to generate random numbers from 1 to 6 using any possible simplest programming language. And I also wanted it to be displayed digitally each time when we roll the dice.

So I used python to generate random numbers from 1 to 6. And display image based on the random digit output. The dice will be rolled & the output will be displayed each time when you click on the dice.

A simple solution for my Digital Dice 🙂

Alt Text

Here's the code below for reference
https://github.com/DHANUSHXENO/100DaysOfCode

Discussion

pic
Editor guide