Skip to main content

A Rock Paper Scissors game

Project description

RPScissors

This module makes it easy to create a Rock Paper Scissors game in Python.

Basic example

import RPScissors

game = RPScissors.create_default_game()

user = input("Choose stone, paper or scissors: ")
computer, result = game.play_round(user)

print("Computer chose:", computer)
print("Result:", result)

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

rpscissors-0.0.2.tar.gz (2.6 kB view details)

Uploaded Source

File details

Details for the file rpscissors-0.0.2.tar.gz.

File metadata

  • Download URL: rpscissors-0.0.2.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for rpscissors-0.0.2.tar.gz
Algorithm Hash digest
SHA256 ee2d7a1d3fa4a40018f7eb44e08775378994a5a2ed56f8a8e713e533ea4235b0
MD5 8eff609b3fc372de7cfe77d7f2bdb9ec
BLAKE2b-256 46c600ee9e319a95ad0d75725364970d45328d385112d6427a0a0837a88f21e2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page