Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 1008 Bytes

README.md

File metadata and controls

34 lines (23 loc) · 1008 Bytes

Truth or Dare Game

A web-based "Truth or Dare" game designed for playing with friends. Users can input their names and spin the bottle to randomly select a person and assign them a truth or dare.

Features

  • Add names to the game.
  • Spin the bottle to randomly select a person.
  • Randomly assign a truth or dare to the selected person.
  • Animated UI for spinning the bottle and displaying results.

How to Use

  1. Enter the names of the players and click "Add Name".
  2. Once all names are added, click "Spin the Bottle".
  3. The selected person's name will be displayed along with a randomly chosen truth or dare.

Files

  • index.html: Main HTML file.
  • style.css: CSS file for styling the game.
  • script.js: JavaScript file for game functionality.

Setup

  1. Clone the repository:
    git clone https://github.com/harshitj183/TruthandDareGAMEWEB.git
  2. Open index.html in a web browser to start the game.

License

This project is licensed under the MIT License.