images | ||
index.html | ||
LICENSE.md | ||
main.py | ||
pyscript.toml | ||
README.md |
Rock Paper Scissors Card Game
Play now on pyscriptapps.com or see info on Forgejo.
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.
It is built with PyScript and developed on PyScript.com. It is available on my PyScript profile and Forgejo repo.
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.