https://github.com/cyprianfusi/building-a-word-raider---an-interactive-word-guessing-game
Applying recursive function call, Separation of Concerns Principle and functional programming in building a word guessing game.
https://github.com/cyprianfusi/building-a-word-raider---an-interactive-word-guessing-game
functional-programming game-development python3 recursive-functions separation-of-concerns
Last synced: 3 months ago
JSON representation
Applying recursive function call, Separation of Concerns Principle and functional programming in building a word guessing game.
- Host: GitHub
- URL: https://github.com/cyprianfusi/building-a-word-raider---an-interactive-word-guessing-game
- Owner: CyprianFusi
- Created: 2024-08-06T10:28:28.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-08-06T10:33:16.000Z (11 months ago)
- Last Synced: 2025-01-26T11:28:31.694Z (5 months ago)
- Topics: functional-programming, game-development, python3, recursive-functions, separation-of-concerns
- Language: Jupyter Notebook
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Building-a-Word-Raider---An-Interactive-Word-Guessing-Game
Applying recursive function call, Separation of Concerns Principle and functional programming in building a word guessing game.## The Rules
* Prompt the player to guess a **n-letter word**
* Provide some feedback as to whether the letters within their guess are in the word to guess
* If the player guesses the **correct letter in the correct position**, that letter will be filled in on the console
* If they guess a correct letter that belongs in the word, but it is **in the wrong position**, that letter will be added to a list of **misplaced letters, and an underscore will be shown in that position** on the console
* If they guess a **letter that does not belong in the word**, that letter will be added to a **list of incorrect letters, and an underscore will be shown** in that position on the console.
* The user will have a **maximum of 5 attempts** to guess the word.Helper functions and the game logic are implemented in the module `app_function.py`