Skip to main content

CLI impostor game with AI

Project description

pympostor

CLI impostor game with AI - A word deduction game where players must identify the impostor among them.

Description

"Adivina El Impostor" (Guess the Impostor) is a word-based deduction game where participants must figure out who the impostor is among them. It's a game of strategy and deduction that requires skill to give clues without being too obvious.

Installation

Install using pip:

pip install pympostor

Or using uv:

uv pip install pympostor

Requirements

  • Python 3.13 or higher
  • OpenAI API key (set in your environment or .env file)

Usage

After installation, run the game with:

pympostor play

You can customize the number of players and impostors:

pympostor play --jugadores 5 --impostores 1

Options:

  • --jugadores, -j: Total number of players (minimum 3)
  • --impostores, -i: Number of impostors (must be less than players/2)

How It Works

  • Most players receive the same secret keyword
  • One or more impostors only know the category of the keyword, not the word itself
  • Players take turns saying a word related to the keyword
  • Players vote to eliminate who they think is the impostor
  • The game continues until the impostor is found or wins

License

This project is open source and available under the MIT License.

Author

Facundo Goiriz - facundogoiriz@gmail.com

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pympostor-0.1.0.tar.gz (128.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pympostor-0.1.0-py3-none-any.whl (25.3 kB view details)

Uploaded Python 3

File details

Details for the file pympostor-0.1.0.tar.gz.

File metadata

  • Download URL: pympostor-0.1.0.tar.gz
  • Upload date:
  • Size: 128.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.11

File hashes

Hashes for pympostor-0.1.0.tar.gz
Algorithm Hash digest
SHA256 823fa17c39fbd7f47509a242465435a5ae3665865f132901e8f06a8947ef483d
MD5 44fdd7f8ac260d60e725f455db296446
BLAKE2b-256 99ea02e06e0b751bda3adade0f9a31889c7942f30c2308bd3582172e269a1769

See more details on using hashes here.

File details

Details for the file pympostor-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pympostor-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 25.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.11

File hashes

Hashes for pympostor-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 354abbd866a3448ece6277bb2eadb198b2c37873be05b07cef822c0fbadfbeba
MD5 605103b59c1d890048aaf07c9651ee08
BLAKE2b-256 49d9d24d9b58ae245b981c49204b0ea4fd10b2c6781a084df24ed51e2ba22545

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page