How to Create a Dice Roll Game using HTML CSS & JavaScript

preview_player
Показать описание
View the SOURCE CODE 👇

In today's project we'll take a look at creating a dice roll game using HTML, CSS and JavaScript. This will allow you to "roll" dice in 2D, giving you a random set of dice after 1 second.

This project is great for improving your CSS and JavaScript DOM skills, especially as a beginner to web development.

If this video helped you out and you'd like to see more, make sure to leave a like and subscribe to dcode!

#dcode #webdevelopment #javascript
Рекомендации по теме
Комментарии
Автор

Excellent tutorial very clearly explained, many thanks!

photoinshot
Автор

Great tutorial. Very clean. Thank you.

redMaple_QC
Автор

Thanks! Although, wouldn't it be easier to load 6 images for the sides of the die instead of creating specific dots?

jacobchung
Автор

Thanks, that was a great tutorial. I learned a lot.

scienceireland
Автор

What if I want to make something that counts everytime i role a dice?

pontusrydstrom
Автор

Great Tutorial, Dom. Could be used as the basis for a game like Yahtzee. Nice!!

joemelnick
Автор

what would you do differently if you wanted to have is display the number 1, 2, 3, 4, 5 etc. instead of a dot.

xylzevercon
Автор

Really nice ! Thank you for that tutorial.

adelineiscoding
Автор

Followed the tutorial up to the point where he talks about the dot matrix....and the link is suspended.

trapdracula_
Автор

Anyone guide me! How to save canvas images in p5js ?

ffplayer
visit shbcf.ru