484
Coding chess (startrek.website)
you are viewing a single comment's thread
view the rest of the comments
[-] ImplyingImplications@lemmy.ca 18 points 9 months ago

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 9 months ago

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

[-] Da_Boom@iusearchlinux.fyi 7 points 9 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 9 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 9 months ago* (last edited 9 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.

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

AnarchyChess

5160 readers
66 users here now

Holy hell

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

Matrix space

founded 1 year ago
MODERATORS