rock-paper-scissor-card-game/README.md

10 lines
931 B
Markdown
Raw Normal View History

2025-03-16 22:14:32 +01:00
# Rock Paper Scissors Card Game
2025-03-16 23:22:14 +00:00
Play [now](https://codebymrfinchum.pyscriptapps.com/rock-paper-scissors-card-game/latest/).
2025-03-16 20:50:16 +00:00
2025-03-16 22:14:32 +01:00
A little game to play the classic Rock Paper Scissors game with a twist.
Instead of freely selecting between Rock, Paper, and Scissors, you get a hand of three cards, potentially with only rocks.
It is a semi-random 52-card deck with an unbalanced distribution of cards, meaning some cards are less likely to occur. For example, only 5 out of 52 cards are stones, so it is very unlikely the other player has a stone. Selecting scissors gives a higher chance of winning.
2025-03-16 20:50:16 +00:00
2025-03-16 23:22:14 +00:00
At the moment, there are two versions: a Python version for local usage (terminal), `local.py`, and a PyScript version, `main.py`.
The PyScript version can actually be accessed and played [online](https://codebymrfinchum.pyscriptapps.com/rock-paper-scissors-card-game/) on my [PyScript profile](https://pyscript.com/@codebymrfinchum).