Y
Hacker News
new
|
ask
|
show
|
jobs
by
deckar01
4771 days 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
and
https://github.com/deckar01/mod7/tree/penalty-fives