Giter Club home page Giter Club logo

rock-paper-scissors's Introduction

Rock Paper Scissors

Play an infinite game of Rock Paper Scissors. Score progress is save-able.

Table of Contents

Gameplay

Rules

If you're unfamiliar with the game Rock Paper Scissors, the rules are simple. Here are the instructions specific to this version:

  1. The player chooses Rock, Paper, or Scissors.
    • The player does this by typing r for rock, p for paper, or s for scissors and then hitting enter.
  2. The computer will randomly make a choice.
  3. Both the player's and computer's choices will be displayed on screen and who won.
    • Rock beats Scissors
    • Scissors beats Paper
    • Paper beats Scissors
    • Matching choices will result in a tie

You may also use these controls at any point during the game:

  • help to pull up the help screen.
  • save to save your score.
  • quit to quit the game. There will also be an option to save and quit here as well.

Demo

Below is a demo of the game running. You can save your progress at any point by typing and entering save.

Rock Paper Scissors demo

Built With

  • Python 3.8 with the help of the built-in modules:
    • os
    • random
    • pickle
    • sys
    • time

Running the Game

  • Install Python 3.6 or newer.
  • Download the rps.py.
  • Run rps.py and enjoy.

License ![Github]

Distributed under the MIT License. See LICENSE for more information.

Donations (Optional)

Ko-fi is basically a virtual tip jar where you can support creatives for about the price of a cup of coffee.

At this time, I'm not very active on Ko-fi nor do I offer any rewards. If you love my work and feel like supporting me, hit the button below to get started.

Tipping is optional but I will appreciate any amount you choose to donate. Thank you (´• ω •`) ♡ !

ko-fi

rock-paper-scissors's People

Contributors

straykoi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.