Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

Gameplay logic for Rock-Paper-Scissors

Project description

Rock Paper Scissors Gameplay Logic (Python)

PyPI version

Build Status

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.

Filename, size & hash SHA256 hash help File type Python version Upload date
s2t2_game_utils-1.2-py3-none-any.whl (3.7 kB) Copy SHA256 hash SHA256 Wheel py3
s2t2-game-utils-1.2.tar.gz (2.3 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page