Giter VIP home page Giter VIP logo

gabrielsiket-python-rock.paper.scissors's Introduction

Python Rock Paper Scissors

This classic "Rock Paper Scissors" is a Python terminal game, wich runs is the Code Institute mock terminal on Heroku.

Rock, Paper, scissors is a hand game originating from China.

Live link to the game can be found here.

Responsive

Table of Contents

  1. Game Rules
  2. Features
  3. Testing
  4. Deployment
  5. Credits

1. Game Rules

This Game is usually played between two people, in which each player simultaneously forms one of three shapes with an outstretched hand. These shapes are "rock" (a closed fist), "paper" (a flat hand), and "scissors" (a fist with the index finger and middle finger extended, forming a V). "Scissors" is identical to the two-fingered V sign (also indicating "victory" or "peace") except that it is pointed horizontally instead of being held upright in the air.

2. Features

Existing Features

  • When the game starts, the user is asked to input their name.

    "Hello! What is your name?"

    name

  • A valid name format is required that must be formed of letters only.

    "Do not use numbers or spaces!"

    invalid-name

  • Once a valid name is provided, the user is asked to choose one of the following options: Rock, Paper, Scissors or Q (Quit).

    Start Game

    options

  • After the game is played and the user chooses to quit, the result will be shown.

    Result

    result

Features to implement

  • Add the lizard, wizard and spock

3. Testing

I have manually tested this project by:

  • Passing it through PEP8 linter and confirm that everything is all right.
  • Giving invalid inputs: numbers where strings are required etc.

4. Deployment

This project was deployed using Code Institute's mock terminal to Heroku.

  • Steps for deployement:

    • Clone this repository.
    • Create new Heroku App.
    • Set the buildbacks to Python and NodeJS.
    • Link the Heroku App to the repository.
    • Click on Deploy.

5. Credits

  • Code Institute for the deployment terminal.
  • Tim Ruscica for better understanding and use of Python.
  • Wikipedia for details about the game.

gabrielsiket-python-rock.paper.scissors's People

Contributors

gabrielsiket 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.