Better HN
topnewbestaskshowjobs
Log inSign up

refuzed

2 karma · joined Dec 18, 2015 (10y ago) · 1 submissions

Submissions

comment 10y ago · link · parent

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