GithubHelp home page GithubHelp logo

itssomen / stone-paper-scissors Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 9 KB

A simple CUI game made on python

Python 100.00%
python python3 random python-random stone-paper-scissors rock-paper-scissors

stone-paper-scissors's Introduction

Stone Paper Scissors Game (Python)

A game completely build on python using Random module.

Installation

Simply install python in your machine
Install git
Run the command below

git clone https://github.com/ItsSomen/Stone-paper-scissors.git

or
Simply download the zip and extract it, the run the main.py file.

Usage

cd Stone-paper-scissors
python3 main.py

Description

A simple character user interface game build on python using random module which came preinstalled with python. User have to choose its move by simply pressing its choice (1/2/3).
1 Means stone
2 means paper
3 means scissors

Computer will make random moves. The game will run 10 times and the one getting more points at the last will win the game.

My Process

Built With

Python and python's random module

What I learned

I learned how the random choices are taken through the python while implementation. While working solo I learned that i have a good patience and am a good learner.

Rules of Game

Paper beats Stone
Scissors beats Paper, and
Stone beats Scissors

Any suggestions

For any suggestions contact me at [email protected]
Any pull request is appreciated.

stone-paper-scissors's People

Contributors

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