BETA High School RPG
I have created this BETA High School game. Its made out of python. This took me an hour and a half just for this code.
UPVOTE IF U LIKE IT
ONLY THE JOCK AND THE NERD WORK CURRENTLY
THIS IS A LITTLE SNIPPET OF THE ENTIRE CODE AND PLEASE DO NOT STEAL THIS CODE AND MODIFY IT
No offense but there's a lot of if's and that kind of takes up a lot of space. I mean you could always use the
class attribute and write the entire story in that from that specific character's POV in order to save coding space. This game isn't too bad though.
@codeninja135 true but in this case it would be like:
class nerd: def __init__(self,health,pop,grades,strength) self.health = health #popularity self.pop = pop self.grades = grades self.strength = strength def firstchoice(self): choice = input("Will you go to: 1. First Period, 2. Second Period, 3. Thrid Period, or 4. Lunch?") if choice.lower() == "1": print("You went to first period.") etc.
also you're forgetting the most important part of the class, the
__init__() function -_-