A little game to play the classic Rock Paper Scissors game with a twist.
Find a file
2025-04-10 00:00:47 +02:00
images Change the layout to fit the code on pyscript, now also with icons. 2025-03-17 13:55:46 +01:00
index.html Change the layout to fit the code on pyscript, now also with icons. 2025-03-17 13:55:46 +01:00
LICENSE.md Initial release. 2025-03-16 22:14:32 +01:00
main.py Change the layout to fit the code on pyscript, now also with icons. 2025-03-17 13:55:46 +01:00
pyscript.toml Change the layout to fit the code on pyscript, now also with icons. 2025-03-17 13:55:46 +01:00
README.md Updated readme to fit with new forge. 2025-04-10 00:00:47 +02:00

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.