Change the layout to fit the code on pyscript, now also with icons.
This commit is contained in:
parent
54cd9d838b
commit
25bc363a24
11 changed files with 170 additions and 170 deletions
11
README.md
11
README.md
|
@ -1,9 +1,14 @@
|
|||
# Rock Paper Scissors Card Game
|
||||
Play [now](https://codebymrfinchum.pyscriptapps.com/rock-paper-scissors-card-game/latest/).
|
||||
Play [now](https://codebymrfinchum.pyscriptapps.com/rock-paper-scissors-card-game/) on pyscriptapps.com or see info on [Gitlab](https://gitlab.com/CodeByMrFinchum/rock-paper-scissor-card-game).
|
||||
|
||||
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.
|
||||
|
||||
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).
|
||||
It is built with PyScript and developed on [PyScript.com](). It is available on my [PyScript profile](https://pyscript.com/@codebymrfinchum) and [Gitlab repo](https://gitlab.com/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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue