This project is a complete implementation of the popular Wordle game in C programming language, developed as part of the ALGO3 (Algorithms & Data Structures) course at USTHB (University of Sciences and Technology Houari Boumediene), Faculty of Computer Science.
The project includes:
- A fully playable Wordle game with interactive interface
- An intelligent automated solver that can solve Wordle puzzles
- Efficient data structures and algorithms for optimal performance
- Interactive Gameplay: Play Wordle manually with a clean terminal interface
- Color-coded Feedback: Visual feedback using emojis (🟩🟨⬜)
- Word Validation: Checks if guessed words exist in the dictionary
- Attempt History: Tracks all previous guesses with their feedback
- Tested Letters Display: Shows which letters have been tested and their status
- Automatic Solving: The solver can play Wordle without human intervention
- Elimination Strategy: Uses feedback to eliminate impossible words
- Step-by-step Visualization: Shows the solver's thought process
- Performance Metrics: Displays number of attempts and remaining candidates
- Modular Code: Well-organized into separate modules
- Memory Efficient: Proper memory management with no leaks
- Cross-platform: Works on Linux, Windows, and macOS
- Makefile Support: Easy compilation with provided Makefile
- GCC compiler (or any C compiler)
- Git (for cloning the repository)
# Clone the repository
git clone https://github.com/yourusername/wordle-solver-c.git
cd wordle-solver-c
# Compile using GCC
gcc -o wordle main.c wordle.c lists.c solver.c -Wall -Wextra
# Or use the provided Makefile
make