Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This reminds me of the C# source code for DRAGON. Its code was actually much worse, because the creator wasn't aware of things like loops or method definitions (the main game loop and class appear to have been generated by a framework).

The C# code is here, and it works well enough that you can buy it on Steam, apparently: https://gist.githubusercontent.com/alessonforposterity/832da...



I'm a bit reminded of the central GAME.C file from the original Duke3D source code: https://github.com/videogamepreservation/dukenukem3d/blob/ma...

It's almost 10k lines of nested if statements, lots of magic values and so on. Still one of the most enjoyable games of its time :-)


The ability to buy something on Steam is sadly no longer a guarantee that it works.


I played it. it worked.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: