Skip to content

A fun web-based "Truth or Dare" game for playing with friends. Add players' names, spin the bottle to select someone at random, and give them a truth or dare. Features a polished UI with animations and Google-inspired design.

Notifications You must be signed in to change notification settings

harshitj183/TruthandDareGAMEWEB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A fun web-based "Truth or Dare" game for playing with friends. Add players' names, spin the bottle to select someone at random, and give them a truth or dare. Features a polished UI with animations and Google-inspired design.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published