When coding goes wrong...

Random irrelevance that just didn't fit into other forums. Talk about anything.

Moderator: Talkative People

Post Reply
K-Bal
ES Beta Backer
ES Beta Backer
Posts: 701
Joined: Sun Mar 15, 2009 3:21 pm
Location: Germany, Aachen
Contact:

When coding goes wrong...

Post 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
User avatar
dandymcgee
ES Beta Backer
ES Beta Backer
Posts: 4709
Joined: Tue Apr 29, 2008 3:24 pm
Current Project: https://github.com/dbechrd/RicoTech
Favorite Gaming Platforms: NES, Sega Genesis, PS2, PC
Programming Language of Choice: C
Location: San Francisco
Contact:

Re: When coding goes wrong...

Post by dandymcgee »

Haha, that's a nice switch statement. At least it's neat and readable. :P
Falco Girgis wrote:It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches! :twisted:
User avatar
rolland
Chaos Rift Regular
Chaos Rift Regular
Posts: 127
Joined: Fri Dec 21, 2007 2:27 pm
Current Project: Starting an Android app soon
Favorite Gaming Platforms: PS1, N64
Programming Language of Choice: C++
Location: Michigan, US

Re: When coding goes wrong...

Post by rolland »

I can't put my finger on it, but something doesn't seem quite right there...
I'll write a signature once I get some creativity and inspiration...
CowboyX86
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 18
Joined: Sat Jun 13, 2009 11:55 am

Re: When coding goes wrong...

Post by CowboyX86 »

It's "not" so Big!

Yeah I'm kidding :lol:
User avatar
dani93
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 38
Joined: Mon Apr 13, 2009 9:38 am
Location: Austria

Re: When coding goes wrong...

Post 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). :)
Panama
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 21
Joined: Fri Jun 05, 2009 12:37 pm
Favorite Gaming Platforms: PC
Programming Language of Choice: C++ and C#
Location: Great Britain, although I don't understand what's so great about it

Re: When coding goes wrong...

Post by Panama »

:shock: Wow, that was pretty nasty.
User avatar
Netwatcher
Chaos Rift Junior
Chaos Rift Junior
Posts: 378
Joined: Sun Jun 07, 2009 2:49 am
Current Project: The Awesome Game (Actual title)
Favorite Gaming Platforms: Cabbage, Ground beef
Programming Language of Choice: C++
Location: Rehovot, Israel

Re: When coding goes wrong...

Post 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
"Programmers are the Gods of their tiny worlds. They create something out of nothing. In their command-line universe, they say when it’s sunny and when it rains. And the tiny universe complies."
-Derek Powazek, http://powazek.com/posts/1655

blip.fm DJ profile - http://blip.fm/Noobay
current code project http://sourceforge.net/projects/vulcanengine/
User avatar
Bludklok
Chaos Rift Junior
Chaos Rift Junior
Posts: 241
Joined: Tue Apr 14, 2009 1:31 am
Current Project: EnigmaCore
Favorite Gaming Platforms: PC, N64, Playstation1, Playstation2
Programming Language of Choice: C++
Location: New Jersey
Contact:

Re: When coding goes wrong...

Post by Bludklok »

The whole time I was trying to find the cases, kind of like Wheres Waldo.
Youtube
Website
Current project: Enigma Core
Post Reply