Skip to main content

Gameplay logic for Rock-Paper-Scissors

Project description

Rock Paper Scissors Gameplay Logic (Python)

PyPI version

Build Status


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 s2t2-game-utils

# from GitHub source (HTTPS version):
pip install git+

# from GitHub source (SSH version):
pip install git+ssh://

# from local source (after downloading the repo):
pip install -e path/to/game-utils-py/


from game_utils.rock_paper_scissors import *

print(WELCOME_MESSAGE) #> Hi. Welcome to my Rock-Paper-Scissors game!

determine_winner("rock", "paper") #> "paper"




Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for s2t2-game-utils, version 1.2
Filename, size File type Python version Upload date Hashes
Filename, size s2t2_game_utils-1.2-py3-none-any.whl (3.7 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size s2t2-game-utils-1.2.tar.gz (2.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page