mirror of
https://github.com/ltcptgeneral/cse151b-final-project.git
synced 2024-12-28 10:59:08 +00:00
15 lines
376 B
Python
15 lines
376 B
Python
|
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")
|