This repository contains a simple brain teaser game implemented in Python. The game presents a series of brain teasers, and the player must provide answers to each one. If the player's answer matches the correct answer, they score a point. The game is a fun way to challenge your brain and test your lateral thinking skills.
-
Clone this repository to your local machine:
git clone https://github.com/your-username/brain-teaser-game.git
-
Navigate to the repository's directory:
cd brain-teaser-game
-
Run the game using your Python interpreter:
python brain_teaser_game.py
-
The game will present you with a series of brain teasers, and you'll be prompted to provide your answers. Answer as many questions as you can to score points.
The game includes the following brain teasers:
-
"I speak without a mouth and hear without ears. I have no body, but I come alive with the wind. What am I?"
- Correct Answer: an echo
-
"What comes once in a minute, twice in a moment, but never in a thousand years?"
- Correct Answer: the letter 'm'
-
"The more you take, the more you leave behind. What am I?"
- Correct Answer: footsteps
-
"What has keys but can't open locks?"
- Correct Answer: a piano
-
"You see a boat filled with people. It has not sunk, but when you look again you don’t see a single person on the boat. Why?"
- Correct Answer: all the people were married
Welcome to the Brain Teaser Game!
Try to answer the following brain teasers:
Question: I speak without a mouth and hear without ears. I have no body, but I come alive with the wind. What am I?
Your Answer: wind
Sorry, the correct answer is 'an echo'.
Question: What comes once in a minute, twice in a moment, but never in a thousand years?
Your Answer: m
Correct!
Question: The more you take, the more you leave behind. What am I?
Your Answer: time
Sorry, the correct answer is 'footsteps'.
Game Over! Your final score: 1
Feel free to customize the brain_teasers
list by adding more brain teasers or changing the questions and answers. You can enhance the game further by adding features like a timer, different difficulty levels, or a graphical user interface (GUI).