src.common.types
Centralized imports and type definitions for the Wordle Solver. This module helps eliminate circular imports and provides a single point for common types.
Classes
|
Available game modes. |
|
Possible game outcomes. |
|
Protocol defining the interface for solver strategies. |
|
Protocol defining the interface for word management. |
- class src.common.types.SolverStrategyProtocol(*args, **kwargs)[source]
Protocol defining the interface for solver strategies.
- get_top_suggestions(possible_words, common_words, guesses_so_far, count=10, word_manager=None)[source]
Get top N suggestions based on the strategy’s algorithm.
- __init__(*args, **kwargs)
- class src.common.types.WordManagerProtocol(*args, **kwargs)[source]
Protocol defining the interface for word management.
- __init__(*args, **kwargs)