Skip to content

The advanced dice game is a web based dice game that challenges players to achieve the highest score through strategic dice rolls and scoring decisions. Developed as part of the freeCodeCamp Challenge, this game combines elements of classic dice games with a unique set of scoring rules and game-play mechanics.

Notifications You must be signed in to change notification settings

Yashi-Singh-1/Advanced-Dice-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advanced Dice Game - FreeCodeCamp Project

This project is a solution to the Build an Advanced Dice Game Project on FreeCodeCamp. The Project involves creating a web-based dice game with multiple rounds and scoring based on dice outcomes.

Table of Contents

Overview

The Project

The goal of this Project is to build a web-based dice game where players roll dice to score points based on different combinations. The game includes:

  • Dice Rolling: Roll up to five dice with each click.
  • Score Options: Score points based on combinations such as three of a kind, four of a kind, full house, small straight, and large straight.
  • Rounds: The game consists of six rounds, with players able to roll the dice three times per round.
  • Scoring and History: Track and display the total score and history of scores achieved.

Screenshot

Advanced Dice Game Screenshot

Links

My Process

Built With

  • HTML5 for the page structure and layout.
  • CSS3 for styling and responsive design.
  • JavaScript (ES6) for implementing game logic, dice rolling, score calculations, and event handling.

What I Learned

Working on this project improved my skills in:

  • Game Logic: Implementing game rules and scoring mechanisms.
  • DOM Manipulation: Dynamically updating the UI based on user actions and game state.
  • Event Handling: Managing user interactions such as dice rolling and score selection.
  • Algorithmic Thinking: Designing and applying algorithms to detect dice combinations and calculate scores.

Continued Development

Future enhancements for this project could include:

  • Enhanced User Interface: Improving the visual design and user experience.
  • Additional Features: Introducing more scoring options or game variations.
  • Mobile Responsiveness: Optimizing the game for better performance on mobile devices.

Useful Resources

Author

Acknowledgments

A big thank you to FreeCodeCamp for providing this Project, which allowed me to apply and enhance my JavaScript and web development skills. Special thanks to the coding community and online resources that provided support and inspiration throughout the project.

About

The advanced dice game is a web based dice game that challenges players to achieve the highest score through strategic dice rolls and scoring decisions. Developed as part of the freeCodeCamp Challenge, this game combines elements of classic dice games with a unique set of scoring rules and game-play mechanics.

Topics

Resources

Stars

Watchers

Forks