JavaScript game of Tron in 219 bytes
alokmenghrajani.github.com
JavaScript game of Tron in 219 bytes
1–10 of 54 posts
Re: JavaScript game of Tron in 219 bytes
#2Re: JavaScript game of Tron in 219 bytes
#3Re: JavaScript game of Tron in 219 bytes
#4In 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!).
Re: JavaScript game of Tron in 219 bytes
#5typos: "exercice" -> "exercise", "brining" -> "bringing"
Re: JavaScript game of Tron in 219 bytes
#6Re: JavaScript game of Tron in 219 bytes
#7It'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!).
Re: JavaScript game of Tron in 219 bytes
#8Encountered a bug: When I die, the game keeps counting score as my "dead" player keeps going across land behind the scenes.
setInterval is set to update in 9 ms intervals - I assume because whilst it's probably more playable (easier) at higher intervals doing so would require additional bytes.
Re: JavaScript game of Tron in 219 bytes
#9It'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!).
Re: JavaScript game of Tron in 219 bytes
#10instead of "0My goal is to shave 2 bytes, so you can change the key handler back to onkeydown. :P