JavaScript game of Tron in 219 bytes
11–20 of 54 posts
Re: JavaScript game of Tron in 219 bytes
#12You mention saving 11 bytes, bringing the total to 212. Then another 9 (seemingly making it 203). But go on to say you saved 2 more bytes, making it 219. I'm confused.
Re: JavaScript game of Tron in 219 bytes
#13Re: JavaScript game of Tron in 219 bytes
#14Re: JavaScript game of Tron in 219 bytes
#15Re: JavaScript game of Tron in 219 bytes
#16It's really cool to see how you've come up with tron in just 219b. You mention saving 11 bytes, bringing the total to 212. Then another 9 (seemingly making it 203). But go on to say you saved 2 more bytes, making it 219. I'm confused.
Re: JavaScript game of Tron in 219 bytes
#17It's unfortunate that they decided to save 2 bytes by using onkeyup instead of onkeydown. That choice makes the game nearly unplayable for me. Compare the version in the demo to the one here: http://micahw.com/tron.html (221 bytes). In any case, this is really impressive. It's always fun to see the tricks people employ to get these tiny sizes (smaller than this comment!).
No wonder the "lag" feels so bad. Also, the area is way too tiny and it needs a way to restart without having to reload the page.
Re: JavaScript game of Tron in 219 bytes
#18Here's a question for you: how will this look on the new Mackbook Pro with Retina Display ? The tron line is 1px wide, and on that computer's screen the one pixel is too small to see.
Re: JavaScript game of Tron in 219 bytes
#19Here's a question for you: how will this look on the new Mackbook Pro with Retina Display ? The tron line is 1px wide, and on that computer's screen the one pixel is too small to see.
Re: JavaScript game of Tron in 219 bytes
#20It's unfortunate that they decided to save 2 bytes by using onkeyup instead of onkeydown. That choice makes the game nearly unplayable for me. Compare the version in the demo to the one here: http://micahw.com/tron.html (221 bytes). In any case, this is really impressive. It's always fun to see the tricks people employ to get these tiny sizes (smaller than this comment!).