Skip to content
This repository was archived by the owner on Oct 5, 2025. It is now read-only.
This repository was archived by the owner on Oct 5, 2025. It is now read-only.

Implement Rock-Paper-Scissors Game in Python #443

@Madhuj275

Description

@Madhuj275

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.

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions