Hacker News new | ask | show | jobs
by chrisbroadfoot 5119 days ago
I would save 2 bytes by changing

   n=150,x=11325
to

   n=632,x=1e6 (or similar)
This increases the board size to 632x632 and saves 2 bytes, which can be used to use onkeydown.

I suppose you only start approximately in the center, though.