In this video , you will learn to make a dice which on click generates a random number from 1 to 6.Then with multiple dices we made a multiplayer game ,where you take turns and see who gets the same number on both dices in the least number of tries.The counter counts the number of tries.
https://editor.p5js.org/ri1/sketches/...