Page 1 of 1

When coding goes wrong...

Posted: Thu Jun 11, 2009 4:08 pm
by K-Bal
Hey fellow programmers!

Okay, I'm participating in a game programming contest and I thought I just write everything "Quick'n'Dirty". This ended up in the following:

http://www.youtube.com/watch?v=HqljNQmWo-0

However, everything works fine and I don't think I'll change it ;)

Cheers,
Marius

Re: When coding goes wrong...

Posted: Thu Jun 11, 2009 6:11 pm
by dandymcgee
Haha, that's a nice switch statement. At least it's neat and readable. :P

Re: When coding goes wrong...

Posted: Sun Jun 14, 2009 1:23 pm
by rolland
I can't put my finger on it, but something doesn't seem quite right there...

Re: When coding goes wrong...

Posted: Sun Jun 14, 2009 3:31 pm
by CowboyX86
It's "not" so Big!

Yeah I'm kidding :lol:

Re: When coding goes wrong...

Posted: Sun Jun 14, 2009 4:04 pm
by dani93
If it wouldn't be so much effort to put it into several functions ;)
You are using code::blocks? Nice IDE. I use it too. Although command line tools like sdl-config and pkg-config are more convenient than setting arguments in the IDE (my opinion). :)

Re: When coding goes wrong...

Posted: Thu Jun 25, 2009 10:55 am
by Panama
:shock: Wow, that was pretty nasty.

Re: When coding goes wrong...

Posted: Sun Jun 28, 2009 4:36 pm
by Netwatcher
Eww that was disgusting...
*reading original post*
Oh, was that really a switch statement?

It's like the Rorschach Inkblot test... just instead of Ink you've got a Ten-stores-high switch statement

Re: When coding goes wrong...

Posted: Sat Jul 04, 2009 8:40 am
by Bludklok
The whole time I was trying to find the cases, kind of like Wheres Waldo.