485
Coding chess
(startrek.website)
Holy hell
Other chess communities:
!Chess@lemmy.ml
!chessbeginners@sh.itjust.works
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
For a second there I thought the 100% science-based dragons game had been made.
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.
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.
My eyes! The ~~global~~ variable list is huge!
Edit: nm, I looked again and they're in a class. Still insane either way.