Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Rock-Paper-Scissors Game in Python #443

Open
Madhuj275 opened this issue Oct 28, 2024 · 1 comment
Open

Implement Rock-Paper-Scissors Game in Python #443

Madhuj275 opened this issue Oct 28, 2024 · 1 comment

Comments

@Madhuj275
Copy link

Description:
Create a Python script for a Rock-Paper-Scissors game that allows a user to play against the computer. The game should handle user input, generate a computer choice, and determine the winner based on traditional game rules.

Requirements:

  1. User Input: Prompt the user to choose "rock," "paper," or "scissors."
  2. Computer Choice: Use Python's random module to generate a random choice for the computer.
  3. Determine Winner: Compare user and computer choices and determine the winner based on these rules:
    • Rock beats Scissors
    • Scissors beats Paper
    • Paper beats Rock
  4. Replay Option: Ask the user if they'd like to play another round after each game.

Acceptance Criteria:

  • The program correctly identifies the winner or declares a tie.
  • The program can be replayed without restarting.
  • Code is clean, well-documented, and follows Python conventions.
@shettysumantha
Copy link

I'LL ACCEPT THIS TASK

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants