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.
- 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.
- Enter the names of the players and click "Add Name".
- Once all names are added, click "Spin the Bottle".
- The selected person's name will be displayed along with a randomly chosen truth or dare.
index.html
: Main HTML file.style.css
: CSS file for styling the game.script.js
: JavaScript file for game functionality.
- Clone the repository:
git clone https://github.com/harshitj183/TruthandDareGAMEWEB.git
- Open
index.html
in a web browser to start the game.
This project is licensed under the MIT License.