Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
chrisbroadfoot
on June 18, 2012
|
parent
|
context
|
favorite
| on:
JavaScript game of Tron in 219 bytes
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:
I suppose you only start approximately in the center, though.