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
.envfile)
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
Metadata
Release files for pympostor 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pympostor-0.1.0.tar.gz | 128.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pympostor-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 153.6 kB
Release files / pympostor-0.1.0.tar.gz
| Download URL | pympostor-0.1.0.tar.gz |
|---|---|
| Size | 128.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
823fa17c39fbd7f47509a242465435a5ae3665865f132901e8f06a8947ef483d
|
|
BLAKE2b-256 checksum How to use checksums |
99ea02e06e0b751bda3adade0f9a31889c7942f30c2308bd3582172e269a1769
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.11
|
Release files / pympostor-0.1.0-py3-none-any.whl
| Download URL | pympostor-0.1.0-py3-none-any.whl |
|---|---|
| Size | 25.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
354abbd866a3448ece6277bb2eadb198b2c37873be05b07cef822c0fbadfbeba
|
|
BLAKE2b-256 checksum How to use checksums |
49d9d24d9b58ae245b981c49204b0ea4fd10b2c6781a084df24ed51e2ba22545
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.11
|