A fun, colorful CLI party game in Python for stirring up tea.
- Very beautiful interface (uses the
rich.consoleframework) - Easy to use
- Maximum tea guaranteed
- Highly inclusive (even supports polyamorous relationships!)
- Super lightweight (entire app on 1 file)
By Morpheus
- Python 3.14 or above (recommended)
- Visit the repo page and select
Code(green button) ->Download ZIP - Unzip the ZIP file
- Open a new terminal window at the new folder, or run:
cd <path/to/love_machine>
- Install dependencies:
python -m pip install --upgrade pip python -m pip install -r requirements.txt
Run:
cd <path/to/love_machine>
python love_machine.pyThe main menu features 3 game modes:
Enter two or more people's names (along with some other information). A random percentage will show up, displaying how compatible these people are.
Tips for party hosts:
- Append a space at the end of any name input to secretly trigger a high compatibility percentage (90-100%).
- Append a period (
.) for a lower percentage (0-30%). - Only the last usage of this secret percentage manipulation will be used. If a period is appended to the first name input, followed by appending a space to the second name input, the period used in the first input is ignored.
Enter someone's name, and the program will find the name of this person's soulmate, hinting at it by only giving the name's first letter (a random letter in the English alphabet).
Tips for party hosts:
- You can manipulate results by adding names to the
SPECIAL_NAMESdictionary inlove_machine.py(which can be found near line 314 of the file), like so:SPECIAL_NAMES: dict[str, str] = { "lowercased name": "ABC", "another name": "EFG", }
The program will choose a letter from the string after the colon when "finding" the person's match.
- The program checks if the name entered by the user is a substring of any one of the dictionary keys, so enter full names to be safe. Names are case-insensitive.
The program displays a random fortune cookie message from a preloaded list. Pronouns used in messages are optimized based on inputted information.
Tips for party hosts:
- These fortune cookies are not afraid to be offensive.
Read the Contributing Guidelines for more information.
This project is licensed under the MIT License.