Slashdot Mirror


Javascript Game of Tron In 226 Bytes

Have you upgraded your hardware to play something beefier than 140-byte Tetris? New submitter alokmenghrajani writes with "a detailed view of how we size-optimized a game of Tron to just 226 bytes." It's also optimized for Chrome, and very fast.

5 of 115 comments (clear)

  1. 1KB Chess For The Sinclair by TheGoodNamesWereGone · · Score: 5, Informative

    1KB Chess for the Sinclair still has that beat.

    1. Re:1KB Chess For The Sinclair by lobiusmoop · · Score: 5, Informative

      Actually it was only 672 bytes - the 1024 byte memory had to include the screen memory also, much like shared video memory today - could take up to 768 of the 1024 bytes for a full 32x24 screen! (the chess game only used an 11-line screen for the board etc)

      And it's even considered by some to be the greatest program ever written.

      --
      "I bless every day that I continue to live, for every day is pure profit."
  2. 2 player? by Ambitwistor · · Score: 5, Informative

    It's not really a game of Tron without a competing lightcycle. (Without fruit, it's not really a game of Snake either.)

  3. Calling this a game of "Tron" is a stretch by readandburn · · Score: 5, Insightful
    It should be called "Drawing-A-Line-In-A-Tiny-Black-Square-With-Terrible-Controls".

    Come to think of it, that might make a better movie than that last Tron.

  4. not tron by eyenot · · Score: 5, Funny

    I think there's a difference between Tron and Suicidal Etch-A-Sketch

    --
    "Stratigraphically the origin of agriculture and thermonuclear destruction will appear essentially simultaneous" -- Lee