A Telegram bot that serves nuclear war scenarios from the movie WarGames (1983).
Joshua (WOPR) will share its 140 Global Thermonuclear War scenarios with you.
+------------------------------------------+ | W.O.P.R. - WAR OPERATION PLAN | | RESPONSE SYSTEM | | CHEYENNE MOUNTAIN COMPLEX | +------------------------------------------+ /start- Greet the user (Joshua style)/help- Show available commands/scenario- Get a random nuclear war scenario/scenario <number>- Get a specific scenario (1-140)/list- List all 140 scenario names/quote- Get Joshua's famous quotes
- Open Telegram and search for @BotFather
- Send
/newbotand follow the prompts - Copy the bot token
cd wopr_bot pip install -r requirements.txtEdit joshua_bot.py and replace YOUR_BOT_TOKEN_HERE with your actual token:
BOT_TOKEN = "123456789:ABCdefGHIjklMNOpqrsTUVwxyz"python joshua_bot.pyYou should see:
🖥️ WOPR ONLINE - SHALL WE PLAY A GAME? Press Ctrl+C to stop. wopr_bot/ ├── joshua_bot.py # Main bot code (MIT License) ├── scenarios.json # All 140 nuclear war scenarios (Fair Use - see below) ├── wopr.mp4 # WOPR computer animation clip (Fair Use - see below) ├── requirements.txt # Python dependencies ├── LICENSE # MIT License for the code └── README.md # This file +------------------------------------------+ | GLOBAL THERMONUCLEAR WAR SCENARIO #011 | +------------------------------------------+ SEATO Decapitating
SEATO dissolved in 1977. A decapitation attack would have been nuclear strikes against the capital cities of its member-states.
WINNER: NONE
WarGames is a 1983 American techno-thriller film starring Matthew Broderick as David Lightman, a young hacker who accidentally accesses WOPR (War Operation Plan Response), a United States military supercomputer programmed to simulate nuclear war scenarios.
In the film's climax, WOPR/Joshua cycles through all 140+ nuclear war scenarios, learning that they all result in mutual destruction, leading to the famous conclusion:
"A STRANGE GAME. THE ONLY WINNING MOVE IS NOT TO PLAY."
"HOW ABOUT A NICE GAME OF CHESS?"
The scenario descriptions are based on Cold War analysis from:
The bot source code (joshua_bot.py, requirements.txt) is released under the MIT License. You are free to use, modify, and distribute it.
The following files contain content from WarGames (1983) and are included under Fair Use doctrine for purposes of commentary, education, and fan appreciation:
scenarios.json— List of nuclear war scenario names visible in the film, with educational descriptions explaining their Cold War contextwopr.mp4— Brief clip of the WOPR computer display from the film
This is a non-commercial fan project. The film WarGames is © 1983 MGM/UA Entertainment. All trademarks belong to their respective owners.
This is a fan project for entertainment and educational purposes. The scenarios are fictional and from a 1983 movie. This bot is not affiliated with MGM, the filmmakers, or any military organization.
"The only winning move is not to play." — Joshua, 1983