Skip to main content

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

Metadata

Release files for s2t2-game-utils 1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for s2t2-game-utils 1.2
File Size Uploaded
s2t2-game-utils-1.2.tar.gz 2.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for s2t2-game-utils 1.2
File Interpreter ABI Platform
s2t2_game_utils-1.2-py3-none-any.whl Python 3 none any Details

Total release size: 6.1 kB

Release files / s2t2-game-utils-1.2.tar.gz

Download URL s2t2-game-utils-1.2.tar.gz
Size 2.3 kB
Tags Source
SHA-256 checksum
How to use checksums
a1fa2c27583b6389fd8c395e43be49e77aa7b6fcd65abd29c158e78d8f413c94
BLAKE2b-256 checksum
How to use checksums
e7ec128b0e99a70c869dc93e29af8d1cd2639c4d3012486343b5441c85d5c2b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

Release files / s2t2_game_utils-1.2-py3-none-any.whl

Download URL s2t2_game_utils-1.2-py3-none-any.whl
Size 3.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
370b1f2e25877813b2c92a653c048b8483bfc9b64c5405ff867eb7fd8b4232a8
BLAKE2b-256 checksum
How to use checksums
1c97d50751f1836982338d084215df8dbd96290474464758e5e8bbd94c0a3fda
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

Release history Release notifications | RSS feed

This release

1.2 This release

2 release files

1.0

2 release files

0.9

2 release files

0.8.1

2 release files

0.8

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page