Thanks for the comments everyone, and the advice, Shore.
I put together a VIDEO (~9 meg, 45 sec) of the code in action. Basically it's me against a really defensive computer. You'll see that I manage to score one hit on him...but I have to cheat and give myself stamina every 10 seconds or so
.
Let me know if you run into any problems viewing it. Hope you guys enjoy it!
EDIT: Here's a
Google video link if the above link doesn't work for some reason. This one is 320x240 though, so it's a lot harder to see what's going on.