4 ms·
@zsch I refactored your code using OOP and the factory design pattern. In this form it is much easier to alter the logic of the game. https://github.com/deckar0
by deckar01 13y ago
@zsch I refactored your code using OOP and the factory design pattern. In this form it is much easier to alter the logic of the game. https://github.com/deckar01/mod7/tree/refactor https://github.com/deckar01/mod7/tree/refactor and https://github.com/deckar01/mod7/tree/penalty-fives https://github.com/deckar01/mod7/tree/penalty-fives