Open soggybag opened 5 years ago
https://github.com/DrakeVorndran/Canvas_Cellular_Automata/blob/dcb4e010400c3d69d28c1e79ec2c6952ab936e1d/app.js#L4
You're building objects with methods and defining a init method even. Might as well turn this into a class. This is sort of the same thing but with built in convention. It will also enforce good coding habits.
https://github.com/DrakeVorndran/Canvas_Cellular_Automata/blob/dcb4e010400c3d69d28c1e79ec2c6952ab936e1d/app.js#L4
You're building objects with methods and defining a init method even. Might as well turn this into a class. This is sort of the same thing but with built in convention. It will also enforce good coding habits.