Skip to content
monji024Public

About

Multiplayer terminal Russian roulette — Python game logic + Ruby narrative layer, over a live TCP connection.

Topics

Resources

Stars

27 stars

Watchers

0 watching

Forks

Latest commit

 

History

40 Commits

Folders and files

Repository files navigation

English فارسی

ROULETTE

Six chambers. One truth. No going back.

Stars Forks License

Python Ruby Platform Players

Roulette

Six bullets. Six chances.
Don't be a coward — this game is all or nothing.
Death or life.
Feeling brave? Come play.

If you like it, give it a ⭐ Star.
Want to contribute? Fork it.


What is this?

ROULETTE is a terminal game that is played only by two people.

Two players share one gun, a live TCP connection, and the same question every turn:

Is the next one the real one?

The entire game engine (logic, networking, and user interface) is written in Python.
A separate narrative layer written in Ruby builds the atmosphere and storytelling.
Ruby is optional — the game works without it, just with a simpler experience.


⚠ Game Rules

By running and entering the game, you accept these rules:

  1. Entering the game means you have accepted the rules.
    This warning is shown only once. The rules screen appears a single time before you host or join. That is the only warning you will receive.

  2. You are not allowed to run this game inside virtual machines.
    This game is designed for a real, direct environment — not for execution inside a VM.

If you believe in God, when the cylinder is pointed at your head… say it will save you


Requirements

Component Version / Notes
Python 3.10 or higher
Ruby Optional (recommended for full narrative)
Network Two machines that can reach each other via TCP

Installation

Linux / macOS

git clone https://github.com/monji024/roulette.git
cd roulette
chmod +x install.sh
./install.sh

source .venv/bin/activate
python3 client/main.py

If Ruby is not installed:

# Debian / Ubuntu
sudo apt install ruby

# macOS (Homebrew)
brew install ruby

Windows

git clone https://github.com/monji024/roulette.git
cd roulette
install.bat

.venv\Scripts\activate
python client\main.py

If Ruby is not installed, download it from rubyinstaller.org


How to Play

  1. One player hosts the game
  2. The second player joins using the host’s IP and port
  3. Both players share the same revolver
  4. On every turn the only question that matters is asked
  5. There is no going back

Contributing

Contributions are welcome.

  1. Fork the repository
  2. Create a feature branch
  3. Commit your changes
  4. Open a Pull Request

Please keep the spirit of the game intact


License

MIT


Six chambers. One truth. No going back

About

Multiplayer terminal Russian roulette — Python game logic + Ruby narrative layer, over a live TCP connection.

Topics

Resources

Stars

27 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages