Skip to content

Comments

[MafiaGame] Add Traitor's Gambit game mode.#95

Open
AfterWorld wants to merge 2 commits intoAAA3A-AAA3A:mainfrom
AfterWorld:main
Open

[MafiaGame] Add Traitor's Gambit game mode.#95
AfterWorld wants to merge 2 commits intoAAA3A-AAA3A:mainfrom
AfterWorld:main

Conversation

@AfterWorld
Copy link
Contributor

Implements a new paranoia-inducing game mode where multiple hidden Town Traitors work for the Mafia without knowing each other's identities.

Key Features:

  • Variable traitor count (2-6) based on player count
  • Traitors are hidden from Mafia and each other
  • Any Villager role can be a traitor (Detective, Doctor, Mayor, etc.)
  • Scales dynamically with player count
  • Creates extreme paranoia - even confirmed roles cannot be trusted

Changes:

  • modes.py: Add TraitorsGambit mode class with role distribution logic
  • game.py: Update traitor assignment to support multiple traitors
  • game.py: Add special notifications for Traitor's Gambit mode"

Added support for Traitor's Gambit mode with multiple hidden traitors and notifications for Mafia players.
@AAA3A-AAA3A AAA3A-AAA3A changed the title Add Traitor's Gambit game mode [MafiaGame] Add Traitor's Gambit game mode. Feb 24, 2026
@AAA3A-AAA3A AAA3A-AAA3A self-assigned this Feb 24, 2026
@AAA3A-AAA3A AAA3A-AAA3A added enhancement New feature or request question Further information is requested labels Feb 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request question Further information is requested

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants