In this video we are going to create a rolling dice simulator app.
We start with create a random number between 1 to 6, then we are going to draw the dice,
We define a function to draw dots on the screen and for each number telling it what to do.
We test each number by itself, this code can expand to bigger dices, just follow the instruction and create bigger dices.
Timeline:
00:00 – Initializing
05:41 – Defining dice function
14:52 – Draw dot function
20:12 – Test the dice
--------------------
let's embark on an exciting journey of knowledge, entertainment, and inspiration on Python Programming. Don't wait any longer, click here to subscribe:
https://www.youtube.com/@Codivinityco...
-------------
Attribution:
Image by macrovector on Freepik
https://www.freepik.com/free-vector/v...