https://github.com/curiousitydrives/dicee-challenge
A dice game I developed using HTML, CSS, and JavaScript
https://github.com/curiousitydrives/dicee-challenge
Last synced: 4 months ago
JSON representation
A dice game I developed using HTML, CSS, and JavaScript
- Host: GitHub
- URL: https://github.com/curiousitydrives/dicee-challenge
- Owner: curiousityDrives
- Created: 2022-11-05T17:32:15.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-12T23:33:41.000Z (10 months ago)
- Last Synced: 2024-12-20T07:19:02.402Z (6 months ago)
- Language: HTML
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dicee Game
Welcome to the Dicee Game! This is a simple web-based dice game where two players can roll dice to see who wins.
The page refreshes to roll the dice, and the player with the higher number wins. If both players roll the same number, it’s a draw.## Features
- Two players can roll dice.
- Displays the winner or if it’s a draw.
- Uses HTML, CSS, and JavaScript.
- Stylish design with custom fonts.## Getting Started
To get a local copy up and running, follow these simple steps.
### Prerequisites
- A web browser to open and view the HTML file.
- Basic knowledge of HTML, CSS, and JavaScript.### Installation
1. **Clone the repo**
```sh
git clone https://github.com/your-username/dicee-game.git
```2. **Open the `index.html` file**
Navigate to the project directory and open the `index.html` file in your favorite web browser.
## Usage
- Open `index.html` in your web browser.
- The page will automatically roll the dice and display the result.
- Refresh the page to roll the dice again.## File Structure
```
dicee-game/
│
├── images/
│ ├── dice1.png
│ ├── dice2.png
│ ├── dice3.png
│ ├── dice4.png
│ ├── dice5.png
│ └── dice6.png
│
├── index.html
├── styles.css
└── script.js
```## Contributing
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.
1. Fork the Project
2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)
3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)
4. Push to the Branch (`git push origin feature/AmazingFeature`)
5. Open a Pull Request## Author
Natnael Haile