Giter Site home page Giter Site logo

harshitj183 / truthanddaregameweb Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 9 KB

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.

Home Page: https://harshitj183.github.io/TruthandDareGAMEWEB/

HTML 38.77% JavaScript 37.05% CSS 24.18%
game html js simple static web

truthanddaregameweb's Introduction

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.

truthanddaregameweb's People

Contributors

harshitj183 avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

harsh-coder320

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.