Need help w my points. I can't count them :d

Idk if this is even in the right place but oh well.

So. I wanted to give the reader a chance to see their points. But the problem is I’m not that smart to actually count the points. There’s like million possible compinations omg

so at first they are able to get 3, 1 or 0 points. And the next 2 times are the same, 3,1 or 0. then the 4th time they can only get 1 point.

But yeah can someone help me with how many point they’re aböe to get so I can code the points to my story with the if/elif/else thing

do you mean how many points in total?

(I’m assuming the 4th time is 1 point or 0 points)

the highest points a reader can get is 10 points. The lowest is 0. they can also get any number between them. You could do:
if CHAR == 10:

elif CHAR == 9:

elif CHAR == 8:

.
.
.
elif CHAR == 0:

else:
(something went wrong)

OR
you could have-

if CHAR = 0:

elif CHAR =< 2:

elif CHAR =< 5:

.
.
.
(and you could have point blocks like this)

Hope this helps!

No in the fourth they will atomatically get 1 point. But I’ll try doing that

Moved to Directing Helps and Tips since this is about coding. Make sure to check out our Forum Tutorial for more info about creating topics, and feel free to PM me if you’ve got questions. :wink:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.