Welcome to the RPSLS (Rock-Paper-Scissors-Lizard-Spock) page.
This page contains a brief description and implementation instructions for the project.
Project Description
A variation on RPS adding “Lizard” and “Spock” choices, with extended rules. The user picks one of 5 options, and the computer does as well; the program decides who wins per the RPSLS rules.
Project Requirements
Python 3.x.
How to Run the Project
- Modify the RPS script (e.g.
rpsls.py
) to include two new options and corresponding win conditions. - Run it:
python rpsls.py
and play like normal RPS.
Key Concepts Learned
All from RPS, plus handling more conditions (using data structures like dicts or conditional chains for the 5x5 rules).
Possible Extensions
- Animate results with text or simple ASCII graphics.
- Let players name their own options (generalized version).
- Keep score over a series.