Skip to content

LeviNjoroge/Randomiser

Repository files navigation

Randomiser

Welcome to the Dice Roll Randomizer! This is a fun, simple web app that simulates rolling a dice. Users can press a button to "roll the dice" and see a random result.

Table of Contents

Features

  • Random Dice Roll: Each time the button is clicked, a random dice result is generated.
  • Animated Dice Image: A fun dice animation makes the experience more engaging.
  • Simple and Responsive UI: The app is visually appealing and centered on the page for easy interaction.

Demo

You can try the Dice Roll Randomizer by cloning this repository and opening index.html in your web browser.

Installation

  1. Clone this repository:
    git clone https://github.com/yourusername/dice-roll-randomizer.git
  2. Open the project folder:
    cd dice-roll-randomizer
  3. Open index.html in a web browser to start the app.

Usage

  1. Click the "Roll the Dice" button to generate a random dice roll.
  2. The result will be displayed as an image representing the dice roll.

Technologies Used

  • HTML5
  • CSS3
  • JavaScript

Project Structure

  • index.html: The main HTML file for the app.
  • styles.css: Contains the styling for the app.
  • script.js: JavaScript file with the function for generating random dice results.

Future Improvements

  • Add multiple dice options to allow users to roll more than one dice at once.
  • Display the result as a number along with the dice image.
  • Add a sound effect for each roll for a more interactive experience.

License

This project is open-source and available under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors