Wordle Solver

A Wordle game and solver platform with a high-performance C backend, entropy-based recommendations, multi-length words and a responsive web frontend.

Discipline
  • games
  • algorithms
  • c
  • full-stack
Read time
2 minute read

Project record

09 / 13

Stack
  • C
  • HTML5
  • CSS3
  • JavaScript
  • Nginx
  • Docker
  • Docker Compose

Evidence

  • 3 to 25 Word lengths
  • 2 solvers Fast and efficient
  • C Backend language
Wordle Solver game in progress

Overview

Wordle Solver is a playable Wordle game with built-in AI assistance. It pairs a C backend with a vanilla JavaScript frontend, supports words from 3 to 25 letters and offers two different approaches to solving.

Most Wordle helpers focus on the standard five-letter game. Wordle Solver treats word length and attempt count as variables, so it can support custom games and variants without changing the core.

Two solvers

Fast solver

The fast solver uses precomputed word lists and starter recommendations. It returns a strong suggestion immediately, which is useful during a live game when you want an answer rather than an explanation.

Wordle Solver solved game
Wordle Solver solved game

Efficient solver

The efficient solver calculates information entropy to choose the optimal guess. It evaluates how much a candidate word is expected to narrow the remaining possibilities, which takes longer but produces better recommendations.

Wordle Solver victory
Wordle Solver victory

The backend is written in C, with a core game module and separate solver modules. Precomputed word lists and entropy data live in the data directory.

Playing and sharing

Start a game by creating one or joining an existing game with a share code.

Wordle Solver home
Wordle Solver home

Choose a word length from 3 to 25 letters and set the number of attempts.

Wordle Solver setup
Wordle Solver setup

Optionally enter a prefix and pick a starting word from the suggestions.

Wordle Solver starting word
Wordle Solver starting word

To join a game someone else created, enter their share code.

Wordle Solver join screen
Wordle Solver join screen

Submit guesses in the input field, ask for a fast or efficient solve when you are stuck and share the game code so someone else can join. The REST API exposes endpoints for creating games, reading game state, submitting guesses and requesting solver suggestions.

Deployment

The frontend is served by Nginx, which also proxies API requests to the C backend on port 8080. Docker Compose builds both services and the public deployment runs at mycustom-wordle.netlify.app.

Wordle Solver on GitHub
Wordle Solver on GitHub

Play Wordle Solver

This might be broken due to Supabase access issues and some code dependencies, so apologies if it doesn’t work exactly as expected.

View Wordle Solver on GitHub

Source

View Wordle Solver on GitHub