Skip to content

A complete Wordle game implementation in C with an intelligent automated solver. Features include interactive gameplay, color-coded feedback, and an elimination-based solving algorithm. USTHB.

Notifications You must be signed in to change notification settings

azharING/mini_projet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wordle Solver in C

📋 Table of Contents

Project Description

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

Features

Game Features

  • 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

Solver Features

  • 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

Technical Features

  • 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

Installation

Prerequisites

  • GCC compiler (or any C compiler)
  • Git (for cloning the repository)

Compilation

# 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

About

A complete Wordle game implementation in C with an intelligent automated solver. Features include interactive gameplay, color-coded feedback, and an elimination-based solving algorithm. USTHB.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages