Trop Bon Cadavre

A Telegram bot for playing Trop Bon Cadavre (english: very good corpse), a game freely adapted from the french Cadavre exquis.

A game is instanciated with at least two players, a given number of messages and a timeout (maximum allowed time each turn). Participants can agree or not on a theme for a story.

A first player is chosen at random to write the beginning of the story. Then, each turn, another player is chosen at random to follow up on the last message. They can only read the last message, and they do not know its author either. They can only try their best to continue the storyline in a coherent fashion!

Messages can range, at your will, from a single sentence to several paragraphs. Games can last from a few minutes to several weeks!

Once the maximum number of messages has been reached, the game stops and the entire story is revealed. Sometimes it surprisingly makes sense, sometimes it does not at all; but most of the time, it’s hilarious!

Commands

  • /new <number of messages> <timeout in seconds> — Create a new game
  • /join — Join the game
  • /start — Start the game (only for the person who created it)
  • /cancel — Cancel a game before it starts (only for the person who created it)
  • /skip — Skip your turn

Run the bot

Requires at least Python 3.9.

<div class="highlight highlight-source-shell position-relative" data-snippet-clipboard-copy-content="python3 -m venv env
source env/bin/activate
pip install -r requirements.txt
python main.py –token ""
“>

python3 -m venv env
source env/bin/activate
pip install -r requirements.txt
python main.py --token "<Your Telegram Bot Token>"