Author Topic: Wolfenstein in 17 lines of JavaScript  (Read 2300 times)

0 Members and 1 Guest are viewing this topic.

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Wolfenstein in 17 lines of JavaScript
« on: May 16, 2012, 11:32:16 pm »
I found this while surfing. It's a graphical, three-dimensional, editable game (even with AI), all in 17 lines of functional code O.O

A lot more of these are listed here. They're all pretty insane.
« Last Edit: May 16, 2012, 11:34:45 pm by Deep Thought »




Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Wolfenstein in 17 lines of JavaScript
« Reply #1 on: May 16, 2012, 11:38:21 pm »
How do you code a first person shooter in 17 lines of code?? O.O
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: Wolfenstein in 17 lines of JavaScript
« Reply #2 on: May 16, 2012, 11:46:59 pm »
Hey that's pretty damn optimized. Nice one :D

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline Scipi

  • Omni Kitten Meow~ =^ω^=
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1547
  • Rating: +192/-3
  • Meow :3
    • View Profile
    • ScipiSoftware
Re: Wolfenstein in 17 lines of JavaScript
« Reply #3 on: May 17, 2012, 12:29:55 am »
Just looked at his code... My brain hurts T_T

Quite impressive!

Imma Cat! =^_^= :3 (It's an emoticon now!)
Spoiler For Things I find interesting:
Spoiler For AI Programming:
Spoiler For Shameless advertising:

Spoiler For OldSig:





Spoiler For IMPORTANT NEWS!:
Late last night, Quebec was invaded by a group calling themselves, "Omnimaga". Not much is known about these mysterious people except that they all carried calculators of some kind and they all seemed to converge on one house in particular. Experts estimate that the combined power of their fabled calculators is greater than all the worlds super computers put together. The group seems to be holding out in the home of a certain DJ_O, who the Omnimagians claim to be their founder. Such power has put the world at a standstill with everyone waiting to see what the Omnimagians will do...

Wait... This just in, the Omnimagians have sent the UN a list of demands that must be met or else the world will be "submitted to the wrath of Netham45's Lobster Army". Such demands include >9001 crates of peanuts, sacrificial blue lobsters, and a wide assortment of cherry flavored items. With such computing power stored in the hands of such people, we can only hope these demands are met.

In the wake of these events, we can only ask, Why? Why do these people make these demands, what caused them to gather, and what are their future plans...

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Wolfenstein in 17 lines of JavaScript
« Reply #4 on: May 17, 2012, 12:31:13 am »
Wow... Apparently all his code for the actual raycasting is on one line (line 11)...
« Last Edit: May 17, 2012, 12:32:23 am by Deep Thought »