SELECT PROJECT
๐ Project 1: Real-time Data App
PROJECT GOAL (เคเฅเคฏเคพ เคฌเคจเคพเคจเคพ เคนเฅ)
Create a Hangman Game in Python that takes a list of character guesses to play an automated word
puzzle.
Requirements
1. Inside the game, define a secret word string that the automated system needs to discover.
2. The game will accept a list (guess_inputs) containing character predictions made by the user.
3. Run a for loop to process each character guess and track the remaining lives systematically.
4. Validation Logic :
Requirements
1. Inside the game, define a secret word string that the automated system needs to discover.
2. The game will accept a list (guess_inputs) containing character predictions made by the user.
3. Run a for loop to process each character guess and track the remaining lives systematically.
4. Validation Logic :
1. Convert character inputs to lowercase format to prevent capitalization
tracking mismatches.
2. Check if the guess character exists inside the target word and reveal its matching
positions.
3. Reduce the global remaining lives counter by one if the guess character is incorrect.
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.