level-generator
level-generator copied to clipboard
move from es6 classes to factory pattern
class based OOP sucks.
why?
because they aren't real classes. They are still using javascript's prototypal inheritance under the hood. They are essentially just pretty labels on top of javascript's existing object model.