4 ms·
If I were to refactor this code, I'd first make a good set of automated tests, by recording the input and output of a series of games. If you go through many s
by akamaka 10y ago
If I were to refactor this code, I'd first make a good set of automated tests, by recording the input and output of a series of games. If you go through many stages of refactoring, these tests will save you a lot of time.