Skip to content

dc0820/rock-paper-scissors_python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Rock, Paper, Scissors vs Machine 🪨📄✂️

Created by Daniel Cook on April 20, 2023.

Overview

Challenge your computer in a timeless game of Rock, Paper, Scissors! This simple yet engaging program lets you try your luck against the machine. Can you outsmart it?

How to Play

  1. Run the python3 rock_paper_scissors.py script.
  2. You'll be prompted to make a choice between rock, paper, or scissors.
  3. Enter your choice and see what the computer picks.
  4. The winner will be announced based on the classic rules of Rock, Paper, Scissors.

Features

  • User-friendly: The program will inform you if you've made an invalid choice and ask you to enter again.
  • Randomness: The computer's choice is entirely random, ensuring a fair game every time.
  • Instant results: No waiting! You'll see immediately if you've won, lost, or tied.

Behind the Scenes

The game utilizes Python's random module to determine the computer's choice. The logic then compares the player's and the computer's choices to decide the winner using the traditional game rules.

Future Improvements

Though the game is simple and created out of boredom, there's always room for enhancement! Possible future features include:

  • Multi-round gameplay
  • Score tracking
  • Enhancing user experience with graphics or sound effects

Feel free to suggest improvements or report issues!

Final Thoughts

Sometimes, the simplest games are the most entertaining. So, next time you're feeling bored, challenge your computer to a quick game of Rock, Paper, Scissors!

About

rock, paper, scissors vs machine

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages