Skip to content

nathanielv-ungco/python_rock-paper-scissors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Rock Paper Scissors 🪨📃✂️

Description

This is a digital game of rock-paper-scissors played against a computer. Every round of this game will take the user's choice of move and compare it to the computer's choice of move, which is randomized. Based on the rule, the winner is decided and will be displayed in the terminal. The game will also show the players' overall score and the player with the most wins in the terminal.

Try your luck against the computer!

Winning Rules1

Possible moves: Rock, Paper, or Scissors.

  • Scissors cut paper.
  • Paper covers rock.
  • Rock crushes scissors.

Versions

Version 1.0

  • Modules/libraries used: math, random and colorama

Version 1.1

  • Cleaner script
  • Texts are revealed in a cooler way
  • Used system(‘cls’) for a cleaner look of the terminal/screen
  • Modules/libraries used: sys, math, os, random, time, and colorama

About the game/program

This little game/program was my first Python project after learning some Python fundamentals.

Footnotes

  1. The Official Rules of Rock Paper Scissors - World Rock Paper Scissors Association

About

Play Rock Paper Scissors in the terminal against a computer using Python!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages