Skip to content

Rock Paper Scissors is a classic game reimagined with audio enhancements using pyttsx3. This project provides an engaging experience by incorporating voice feedback and sound effects, making the game more interactive and fun.

Notifications You must be signed in to change notification settings

bhargavi852004/Rock-Paper-Scissors_Audio-Enhanced-with-pyttsx3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

Rock Paper Scissors Game

This is a simple Rock-Paper-Scissors game implemented in Python. It allows a user to play against the system by selecting one of the three options: Rock, Paper, or Scissors.

Game Rules

  • The user and the system each choose one of the three options: Rock, Paper, or Scissors.
  • The winner is determined according to the following rules:
    • Rock vs Paper -> Paper wins
    • Rock vs Scissors -> Rock wins
    • Paper vs Scissors -> Scissors wins

Prerequisites

Make sure you have Python installed on your system. Additionally, you'll need the pyttsx3 library for audio output. You can install it using pip:

pip install pyttsx3

How to Play

  1. Run the script.
  2. Enter your name when prompted.
  3. Follow the instructions to select your choice (Rock, Paper, or Scissors) using the corresponding integer values (1, 2, or 3).
  4. The system will randomly select its choice.
  5. The winner will be announced based on the game rules.
  6. You can choose to play again or exit the game.

Usage

python rock_paper_scissors.py

Contributors

About

Rock Paper Scissors is a classic game reimagined with audio enhancements using pyttsx3. This project provides an engaging experience by incorporating voice feedback and sound effects, making the game more interactive and fun.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages