SELECT PROJECT
๐ Project 1: Real-time Data App
PROJECT GOAL (เคเฅเคฏเคพ เคฌเคจเคพเคจเคพ เคนเฅ)
Create an automated Rock, Paper, Scissors game in Python that processes an array of
predetermined user choices.
Requirements
1. Inside the game, use the random module to select a random computer move from a list of choices.
2. The game will accept a list (user_moves) containing the user's predetermined choices.
3. Run a for loop to check each move in the list and track separate score variables for both players.
4. Validation Logic :
Requirements
1. Inside the game, use the random module to select a random computer move from a list of choices.
2. The game will accept a list (user_moves) containing the user's predetermined choices.
3. Run a for loop to check each move in the list and track separate score variables for both players.
4. Validation Logic :
1. Handle case-sensitivity by converting input moves properly (e.g., converting
"rock" to "Rock").
2. Check and handle tie conditions when both the user and the computer make identical
choices.
3. Update user_score for winning moves (Rock beats Scissors, Scissors beats Paper, Paper
beats Rock) and computer_score otherwise.
CHECKLIST
main.py
OUTPUT
โถ Pyodide Console v0.26.0 Ready...
โถ Click the 'Run' button above to execute your Python code.
โถ Your program output or errors will appear here.
โถ Click the 'Run' button above to execute your Python code.
โถ Your program output or errors will appear here.