The tutorial sort of gets conditionals right, but the code could be a lot cleaner.
What you're describing in your post is probably best done with enumeration. (1,2,3, etc)
No double digits however. You'd want to just make a variable for each party member, of which either of the values could be 0 or 1