Welcome to the Truth or Dare Game! This is a fun and interactive web-based game where you can play Truth or Dare with your friends or partner. Choose between Classic Mode and Couples Mode for a tailored experience.
-
Open the Game:
- Open
index.html
in your browser to start the game.
- Open
-
Choose a Mode:
- Select Classic Mode for general truths and dares.
- Select Couples Mode for romantic and spicy truths and dares.
-
Play the Game:
- Click Truth to answer a random truth question.
- Click Dare to complete a random dare.
- Keep playing until you’ve exhausted all the prompts!
- Two Modes: Classic and Couples.
- Randomized Prompts: No repeats until all prompts are used.
- Mobile-Friendly: Works seamlessly on both desktop and mobile devices.
- Customizable: Easily add more truths and dares in the JSON files.
-
Download the Project:
- Clone or download the project files to your computer.
-
Open the Game:
- Open
index.html
in your browser to start playing.
- Open
-
Run a Local Server (Optional):
- Use a local server (e.g., Live Server in VS Code or Python’s HTTP server) for the best experience.
/truth-or-dare
│
├── index.html # Home page
├── classic.html # Classic Mode
├── couples.html # Couples Mode
├── styles.css # Styles for the game
├── script.js # Game logic
├── data/ # JSON files for truths and dares
│ ├── classic.json
│ └── couples.json
└── media/ # Background images and other assets
└── background.jpg
-
Add More Prompts:
- Edit the
classic.json
andcouples.json
files to add more truths and dares.
- Edit the
-
Change the Background:
- Replace
background.jpg
in themedia
folder with your own image.
- Replace