Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: