this post was submitted on 29 Jan 2024
482 points (98.4% liked)

AnarchyChess

4961 readers
122 users here now

Holy hell

Other chess communities:
!Chess@lemmy.ml
!chessbeginners@sh.itjust.works

Matrix space

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] ImplyingImplications@lemmy.ca 18 points 5 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

[–] Xyre@lemmus.org 10 points 5 months ago

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

[–] Da_Boom@iusearchlinux.fyi 7 points 5 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@lemmy.world 5 points 5 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@lemmy.world 2 points 5 months ago* (last edited 5 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.