generated from mwc/project_game
468f179eb39cc13282f95bd7749dd6bd5142b688
The game is about a Player trying to figure out a word. The word is (coding). I will use a hint.
Only the next letter in the word is required, and previous letters are shown as progress.
Completing the full word increases the score by 1.
Pressing a wrong key resets the progress, and you have to start over again.
Game ends when the player completes the word.
The game uses code from retro:
-game class: class MysteryCodingGame(Game)
-agent class
-state
-agents
-game loop
1. Hidden word mechanic: use: (self.word = "coding")
-The game secretly stores the word: Coding
-The player must figure out the word based on a hint
-The game never shows the entire word—only progress
2. Sequential progression mechanic
-The player must press the letters in order: c-o-d-i-n-g
-The game keeps track of where the player is
-If the player presses the correct next letter, they move forward in the word
-If palyer types wrong letter, the entire word resets. The player restarts at the first letter,Then displayed progress updates
3. Visual progress mechanic
-Before each keypress, the game shows: _ _ _ _ _ _
-as the player gets letters right, it shows progrees in the word: c o _ _ _ _
4. Scoring mechanic
-Each time the player finishes the entire word "coding": Score goes up by 1, then progress resets
1. Build the Retro Game Structure
2. Create the Core Gameplay Mechanics
3. Add Game Completion, Scoring
Description
No description provided
Languages
Python
100%