State
in BaseballGame
should be a tuple instead of a list
#69
Labels
low priority
This is not urgent at the moment
question
Further information is needed
refactor
Improve code quality
In
BaseballGame
, the state only consists of two integers, which is strike and ball count. It's better to represent them using a tuple (or even better, anamedtuple
) instead of a mutable list (which doesn't show exactly what is in a state).The text was updated successfully, but these errors were encountered: