Fact or Fake is a Python-based game where players identify fake passages from real ones. The game fetches content from Wikipedia and uses AI to generate fake passages based on the selected difficulty level. Players score points by correctly identifying the fake passages.
- Multiple Difficulty Levels: Choose between easy and hard difficulty levels.
- Category Selection: Select from predefined categories like Movies, Video Games, TV Shows, and Countries.
- Player Management: Supports multiple players with individual scores.
- Crash Rounds: Crash rounds for added challenge.
- Python 3.8+
pipfor managing dependencies
-
Clone the repository:
git clone https://github.com/Zanges/hackathon_fact_or_fake.git cd hackathon_fact_or_fake -
Install the required packages:
pip install -r requirements.txt
-
Set up the environment variables:
- Create a
.envfile in the project root. - Add your OpenAI API key:
OPENAI_API_KEY=your_openai_api_key
- Create a
Run the game executing the main.py script:
python main.py






