A terminal-based word guessing game combining Wordle and Hangman mechanics, built in Ruby.
- 🎯 Wordle-style gameplay - Guess the 5-letter word with color-coded feedback
- ☠️ Hangman integration - Wrong guesses build the hangman
- 🏆 High scores - Track your best performances
- 📊 Statistics - Games played, win rate, streaks
- 🎨 Beautiful terminal UI - Colors, animations, ASCII art
- 💾 Persistent data - Your progress is saved locally
- 🌐 Online word fetching - Fresh words from Datamuse API
- 📱 Responsive design - Adapts to small and large terminals
gem install mumble_gameOr add to your Gemfile:
gem "mumble_game"Simply run:
mumble| Key | Action |
|---|---|
| A-Z | Type letters |
| Backspace | Delete letter |
| Enter | Submit guess |
| ↑↓ | Navigate menus |
| 1-5 | Quick menu select |
| Ctrl+C | Exit game |
| Color | Meaning |
|---|---|
| 🟩 Green | Correct letter, correct position |
| 🟧 Orange | Correct letter, wrong position |
| 🟥 Red | Letter not in word |
- Ruby 3.0+
- Terminal with 80x24 minimum size
- Internet connection (for word fetching, optional)
# Clone the repo
git clone https://github.com/yourusername/mumble_game.git
cd mumble_game
# Install dependencies
bundle install
# Run the game
bundle exec rake play
# Run tests
bundle exec rake spec
# Run linter
bundle exec rubocopMumble stores data in ~/.mumble/:
config.json- Player profile and settingshigh_scores.json- Leaderboardword_cache.json- Cached words for offline playerror.log- Error logs for debugging
To reset all data:
rm -rf ~/.mumbleBug reports and pull requests are welcome on GitHub. See CONTRIBUTING.md for guidelines.
This gem is available as open source under the MIT License.
Built with ❤️ by Hady Mohamed




