cse151b-final-project/wordle_gym/envs/strategies/base.py

15 lines
376 B
Python
Raw Normal View History

2024-03-14 04:36:26 +00:00
from enum import Enum
from typing import List
class StrategyType(Enum):
RANDOM = 1
ELIMINATION = 2
PROBABILITY = 3
class Strategy:
def __init__(self, type: StrategyType):
self.type = type
def get_best_word(self, guesses: List[List[str]], state: List[List[int]]):
raise NotImplementedError("Strategy.get_best_word() not implemented")