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

https://github.com/tom474/dice_game

A web-based two-player dice game with randomized rolls and instant winner determination.
https://github.com/tom474/dice_game

css game-development html javascript web-development

Last synced: over 1 year ago
JSON representation

A web-based two-player dice game with randomized rolls and instant winner determination.

Awesome Lists containing this project

README

          

# Dice Game

A simple web-based dice game where two players roll virtual dice, and the player with the higher roll wins.

## Tech Stack

- HTML
- CSS
- JavaScript

## Features

- **Randomized Dice Rolls**: Each player rolls a virtual die with values ranging from 1 to 6.
- **Automated Winner Declaration**: The game determines and displays the winner based on dice roll values.
- **Draw Condition**: If both players roll the same number, the game declares a draw.
- **Instant Results**: The outcome updates immediately upon page refresh.
- **Minimalist UI**: A clean and simple interface with player dice images.