this post was submitted on 29 Jan 2024
483 points (98.8% liked)

AnarchyChess

5243 readers
7 users here now

Holy hell

Other chess communities:
[email protected]
[email protected]

Matrix space

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 18 points 10 months ago (4 children)

Today I will remind everyone of DRAGON: A Game About a Dragon

This game was developed by someone who didn't know anything about programming outside of IF statements, integers, and strings. Here is an excerpt of the massively long source code

[–] [email protected] 10 points 10 months ago

For a second there I thought the 100% science-based dragons game had been made.

[–] [email protected] 7 points 10 months ago

Holy shit... That's nuts. I do see the occasional boolean in there. But it might as well be ifs ints and strings like you said.

Man went full static C programming in C# and coded the whole thing in what looks like one class. Instances?, loops excepting XNA gameloop? What's that? Whos that? Where's that?

Honestly I'm not even mad, that's dedication. Dedication and a refusal to learn more than just the basics. Kinda want to buy the game now just to see how far a fucktonne of if statements can get. By the looks of it, I'd say straight into the dragons maw.

[–] SkyezOpen 5 points 10 months ago

Yandev as well. Guy put the ai for every single character in a single function separated with if/then statements. It was also called every game tick.

[–] CeeBee 2 points 10 months ago* (last edited 10 months ago)

My eyes! The ~~global~~ variable list is huge!

Edit: nm, I looked again and they're in a class. Still insane either way.