Skip to content

Welcome to the Dice Game! This is a simple web-based game where players can roll two dice by refreshing the page. The game displays a random image of a dice for each roll. This game does not keep track of points or scores - it is simply a fun way to pass the time and enjoy a game of chance.

Notifications You must be signed in to change notification settings

quosainhasan/Dicee-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dice Game

Welcome to the Dice Game! This is a simple web-based game where players can roll two dice by refreshing the page. The game displays a random image of a dice for each roll. This game does not require any player names or login - simply click on the link Dicee 🎲 and start refreshing the page to play.

How to Play

To play the game, click on the link Dicee 🎲 to open the game in your web browser. When the page loads, you can start playing by refreshing the page. Each time you refresh the page, the game will randomly generate two numbers between 1 and 6. These numbers correspond to the pips on the two dice. The game will then display two images of dice that correspond to the numbers generated.

Game Rules

This game does not have any specific rules or objectives, as it is just a simple dice rolling game. However, you can make up your own rules or challenges to add some fun and competition to the game. For example, you could try to roll a certain combination of numbers (such as two sixes), or you could award points to the player who rolls the highest total number on the two dice.

Technologies Used

This game was created using HTML, CSS, and JavaScript. The game uses JavaScript's Math.random() function to generate random numbers between 1 and 6, and then displays the corresponding images of dice using HTML, CSS and JavaScript.

Contributions

Contributions to this game are welcome! If you have any ideas for improvements or new features, feel free to create a pull request.

Credits

This game was developed by Quosain Hasan as a project for The Complete 2023 Web Development Bootcamp by Dr. Angela Yu. Feel free to modify and use this code for your own projects. If you have any feedback or suggestions, please contact me.

Thank you for playing!

About

Welcome to the Dice Game! This is a simple web-based game where players can roll two dice by refreshing the page. The game displays a random image of a dice for each roll. This game does not keep track of points or scores - it is simply a fun way to pass the time and enjoy a game of chance.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published