Cleaning up my code and Help displaying game over

Whether you're a newbie or an experienced programmer, any questions, help, or just talk of any language will be welcomed here.

Moderator: Coders of Rage

XianForce
Chaos Rift Devotee
Chaos Rift Devotee
Posts: 767
Joined: Wed Oct 29, 2008 8:36 pm

Re: Cleaning up my code and Help displaying game over

Post by XianForce »

Man you have a big if/else clutter. It looks like your testing the same value for all of them, so why not use a switch?
Post Reply