Gameplay logic for Rock-Paper-Scissors
Project description
Rock Paper Scissors Gameplay Logic (Python)
Installation
Install the package using one of the following commands, as desired:
# from PyPI (recommended):
pip install s2t2-game-utils
# from PyPI Test server:
pip install -i https://test.pypi.org/simple/ s2t2-game-utils
# from GitHub source (HTTPS version):
pip install git+https://github.com/s2t2/game-utils-py.git
# from GitHub source (SSH version):
pip install git+ssh://git@github.com/s2t2/game-utils-py.git
# from local source (after downloading the repo):
pip install -e path/to/game-utils-py/
Usage
from game_utils.rock_paper_scissors import *
print(WELCOME_MESSAGE) #> Hi. Welcome to my Rock-Paper-Scissors game!
determine_winner("rock", "paper") #> "paper"
Contributing
Releasing
License
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
s2t2-game-utils-1.0.tar.gz
(2.4 kB
view hashes)
Built Distribution
Close
Hashes for s2t2_game_utils-1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d3c5cddc8f0b1c8bea9dd4a7a75ad11ea8c03413ff2dc48eef6f87bd20b7be0 |
|
MD5 | 9656967a811a88be1544b5154775eb27 |
|
BLAKE2b-256 | 1cb2c7b4227ae42ccc995489cc892ae1c25146030225cba3edb9cee57963a756 |