A Wordle game implementation in Rust with a terminal and web UI, supporting multiple languages.
Play in English (default):
cargo run -p wordle_cliPlay in German:
cargo run -p wordle_cli -- --language de--language enor-l en- English (default)--language deor-l de- German
Run the AI assistant to help solve Wordle puzzles.
English (default):
cargo run -p wordle_ai_cli --release -- assistantGerman:
cargo run -p wordle_ai_cli --release -- assistant --language deYou can also choose different AI strategies:
cargo run -p wordle_ai_cli --release -- assistant --ai heuristic --language enAI options (--ai or -a):
heuristic- Uses letter frequency analysis (default, recommended)random-updates- Random guessing with feedback filteringrandom- Pure random guessingentropy- Maximum information gain (slower but optimal)
Evaluate and compare different AI strategies on simulated games.
English wordlist (default):
cargo run -p wordle_ai_cli --release -- simulate --num-games 1000German wordlist:
cargo run -p wordle_ai_cli --release -- simulate --num-games 1000 --language deCompare specific AI agents:
cargo run -p wordle_ai_cli --release -- simulate --num-games 1000 --ai heuristic --ai random-updates --language enSimulation options:
--num-gamesor-n- Number of games to simulate (default: 1000)--aior-a- AI agents to test (can specify multiple, defaults to fast agents)--languageor-l- Language wordlist to use (default: en)
Play Wordle in your browser or use the AI assistant at https://wordle.tilmohr.com.
- Play the game at the root URL: https://wordle.tilmohr.com
- Use the AI solver at: https://wordle.tilmohr.com/ai
Alternatively start a local web instance with:
cd wordle_web
trunk serve --openThe web version includes a language selector dropdown to switch between English and German, and navigation buttons to switch between the game and AI solver.
- English (
en) - German (
de) (including words with umlauts ä, ö, ü, ß)
All game modes (CLI game, AI assistant, web assistant, and simulation) support both languages!