How drcnkrm-hue/cbl-project works
This repository contains a small Wordle implementation with Swing and terminal interfaces. The main workflow is to choose a secret word, accept a five-letter guess, check it against the word list, and show per-letter feedback and a win/loss result. The GUI implements its own game logic and word selection; the TUI has a separate, simpler one-guess flow. WordChecker is a standalone dictionary-API client, with no sampled evidence that either game interface uses it. Several other Java files are empty placeholders.
Main entry points: valid-wordle-words.txt Word list · GUI.java Swing interface · TUI.java Terminal interface · WordChecker.java Dictionary API client
Components 9
Game interfaces
- Swing interface
GUI.java - Terminal interface
TUI.java
Gameplay logic
- GUI guess handling
GUI.java - GUI answer selection
GUI.java - Terminal game flow
TUI.java
Word resources
- Word list
valid-wordle-words.txt - Dictionary API client
WordChecker.java
Other components
- Player
- Dictionary service
Connections 8
- Player → Swing interface: plays via
GUI.java - Player → Terminal interface: plays via
TUI.java - Swing interface → GUI guess handling: submits guesses
GUI.java - GUI answer selection → Word list: loads words
GUI.java - GUI guess handling → Word list: checks guess
GUI.java - Terminal game flow → Word list: reads words
TUI.java - Terminal interface → Terminal game flow: runs game
TUI.java - Dictionary API client → Dictionary service: checks word
WordChecker.java