jerry871002/bsi-pt

`State` in `BaseballGame` should be a tuple instead of a list

Opened this issue · 0 comments

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, a namedtuple) instead of a mutable list (which doesn't show exactly what is in a state).