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

15 lines
1.3 KiB
Markdown
Raw Normal View History

2025-03-16 22:14:32 +01:00
# Rock Paper Scissors Card Game
2025-04-10 00:00:47 +02:00
Play [now](https://codebymrfinchum.pyscriptapps.com/rock-paper-scissors-card-game/) on pyscriptapps.com or see info on [Forgejo](https://code.boxyfoxy.net/CodeByMrFinchum/rock-paper-scissor-card-game).
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-04-10 00:00:47 +02:00
It is built with PyScript and developed on [PyScript.com](). It is available on my [PyScript profile](https://pyscript.com/@codebymrfinchum) and [Forgejo repo](https://code.boxyfoxy.net/CodeByMrFinchum/rock-paper-scissor-card-game).
You can also start the program local, download the repository go into the folder and do 'python3 -m http.server' and then open 'http://localhost:8000/' in your browser.
## Acknowledgment
- Help from ChatGPT
- Icons are from Flaticon, which are free to use for personal purposes. I also provided attribution in the HTML for the used images.