4 ms·
I did the challenge and it was a fun endeavor. I'm mainly a C# dev. I dabble in AngularJS at work but don't consider myself a pro. I'd never tried drawing to
by refuzed 11y ago
I did the challenge and it was a fun endeavor. I'm mainly a C# dev. I dabble in AngularJS at work but don't consider myself a pro. I'd never tried drawing to the canvas so this seemed like a good challenge.
I managed to get something fairly workable, albeit ugly code-wise, banged out in 1hr. If you reviewed my google searches, you would see that:
- I didn't know how to init a 2d array in javascript
- I didn't know that the things on the canvas couldn't be accessed directly for click handlers
- I cheated on the solution for finding neighbors because I was running out of time
*edit formatting