kamranahmedse / developer-roadmap

Interactive roadmaps, guides and other educational content to help developers grow in their careers.
https://roadmap.sh
Other
297.84k stars 39.2k forks source link

Dice Game #7075

Open Polqt opened 2 months ago

Polqt commented 2 months ago

What Roadmap is this project for?

Frontend Roadmap

Project Difficulty

Intermediate

Add Project Details

The Dice Game is a fun and interactive web-based game where users can roll virtual dice and see the results in real-time. The main objective is to create a user-friendly interface that allows players to roll one or more dice and view the outcomes. The game should include features such as:

Dice Rolling Functionality: Users should be able to roll dice by clicking a button. The number of dice to be rolled should be customizable by the user (e.g., 1 to 6 dice).

Dice Representation: Dice should be visually represented using images or graphics. Each die should display a number from 1 to 6, corresponding to the result of the roll.

Results Display: The outcome of each dice roll should be displayed clearly on the screen. The result for each die should be shown individually, and the total result for all dice should also be calculated and displayed.

Styling and Layout: The game should be styled in a visually appealing manner with attention to user experience. The layout should be responsive and work well on both desktop and mobile devices.

Animations: Incorporate animations to enhance the user experience, such as rolling dice animation and transition effects when showing results.

Score Tracking (Optional): For added complexity, implement a feature to keep track of scores across multiple rounds of rolling. Users should be able to view their previous results and scores.

Accessibility: Ensure that the game is accessible to all users, including those using screen readers or keyboard navigation.

This project aims to help developers practice working with JavaScript for game logic, CSS for styling, and HTML for structuring the game. It also provides an opportunity to implement interactive features and animations to enhance user engagement.

dansholds commented 2 months ago

OK, looks interesting, are we sure it's intermediate and not advanced?

Polqt commented 2 months ago

Yes, I think this project belongs to intermediate.

Deval13 commented 1 month ago

hi @Polqt can you assign me this issue i would to contribute in this project

VANSH3104 commented 1 month ago

@dansholds @Polqt I want to work on this project I also make this project too I also make a file for this but where to add image for the game in the file Screenshot from 2024-10-08 15-37-00 is this what you want?

dansholds commented 1 month ago

@dansholds @Polqt I want to work on this project I also make this project too I also make a file for this but where to add image for the game in the file Screenshot from 2024-10-08 15-37-00 is this what you want?

Please take the time to understand what is going on before making comments like this. The Issue creator is suggesting a project that we can add to roadmap.sh/projects. They are not asking people to solve the project.

VANSH3104 commented 1 month ago

@dansholds Thank you for the clarification! I understand that the issue creator is suggesting a project for us to add to roadmap.sh/projects, not seeking a solution for it.I have added the project file to the code, but I noticed that the project files also include a reference photo. I’m unsure how to add that image since it should be placed under the https://assets.roadmap.sh/ domain.Could you please provide guidance on how I should handle adding the image file?