Saturday, May 11, 2013

New version of the combat system for my game!

Mr Dan is amazing, and sat with me for like an hour and a half on Google hangouts to figure out my problems with Python.

Basically, I was stuck with the problem of taking information from a user, which could either have been a string or any kind of number, and trying to classify that as either a string or an int. It sounds so simple now that I think about it, but it still took 10-15 solid minutes of Dan and I figuring stuff out, Googling, and me praying to the StackOverflow gods.. and then another hour of us trying to indent properly and me rambling about bullshit.

And with my last commit for the night to GitHub I give you the newest version of the battle system for The Presidential Race. There may be some code in there that we didn't end up using and is just sitting there, so don't mind any if you find it.

Thanks again, Dan, for your patience and your constant aid to me.

2 comments:

  1. "Your enemy's health is now at -12." Apparently, I'm just that awesome. :) I played three times and was quite amused. In the future, will the dirty enemy fight back? Maybe I played it the wrong way and avoided an attack?

    ReplyDelete
    Replies
    1. O_____O

      DOES HALF THE COMBAT SYSTEM NOT WORK I DIDN'T EVEN REALIZE OMGWTF

      Delete