Omnimaga

General Discussion => Technology and Development => Web Programming and Design => Topic started by: Deep Toaster on May 16, 2012, 11:32:16 pm

Title: Wolfenstein in 17 lines of JavaScript
Post by: Deep Toaster on May 16, 2012, 11:32:16 pm
I found this (http://www.p01.org/releases/20_lines_Castle_Wolfenstein/) 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 (http://www.ozoneasylum.com/29836?offset=120). They're all pretty insane.
Title: Re: Wolfenstein in 17 lines of JavaScript
Post by: DJ Omnimaga on May 16, 2012, 11:38:21 pm
How do you code a first person shooter in 17 lines of code?? O.O
Title: Re: Wolfenstein in 17 lines of JavaScript
Post by: Juju on May 16, 2012, 11:46:59 pm
Hey that's pretty damn optimized. Nice one :D
Title: Re: Wolfenstein in 17 lines of JavaScript
Post by: Scipi on May 17, 2012, 12:29:55 am
Just looked at his code... My brain hurts T_T

Quite impressive!
Title: Re: Wolfenstein in 17 lines of JavaScript
Post by: Deep Toaster on May 17, 2012, 12:31:13 am
Wow... Apparently all his code for the actual raycasting is on one line (line 11)...