An open API service indexing awesome lists of open source software.

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

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