Hello. I'm just a beginner C++ programmer, and this is one of my first games. It's just a Tron clone. Tell me what you think! The source code is included, and it's fairly messy, but it's also commented on a fair amount.
The only real problem I'm having with it is this:
When I first made it, I couldn't get the snakes to do a 180 degree turn (if you're moving right, go up and then left really fast) extremely quickly. The best I could do was the snake being one space away from itself when it turned around instead of right next to itself (you'll see when you run the program.)
The thing is, when I restructured some stuff (or something like that, I can't even remember.) Suddenly, the snake on the left was able to turn around and be going right next to itself, yet the other snake still has a space between it's head and the rest of itself! I just can't figure out why. Not too much of a problem, but if anyone could figure out why I wouldn't mind knowing how that happens =D.
Oh! Also, if the snakes come at eachother at a 90 degree angle and their head run right by eachother, the game will not end. I know how to fix that, but since it's so rare and so hard to do on purpose, I thought it would be neat to keep in. =)
PLEASE! Download and tell me what you think!
Oh yeah, I made this in Borland.