HP game stage 1 day 1


This is my plan document for my next project witch is harry potter based game

https://docs.google.com/document/d/1BL5QrtWzxPMgtxUprEPQTWSab60QFM5qK0edP2zHVJY/edit?usp=sharing

today was a planing day… mostly with a little bit of code

today was stage 1 day 1 of my harry potter based game

https://github.com/LarrySmith8209/harry-potter/tree/main/stage%201

this link has all my code so far

import random

class house:
   houses= ("phoehix", "thunderbird",)
   founders = ("Finneas Phoenix","Theodore Thunderbird")

this is the house file

6 houses total

from houses import house
from sorting import sort

this is the school code i know its only 2 lines but by the end my plan is to have 100+ lines


class quiz:
    sorting=()
    qustions=random 

class sort:
    def storting(self, name):
         for sorting in quiz.sorting:
             if sorting==house.houses[0]:
                 return f"{name} you are in phoehix"
             elif sorting==house.houses[1]:
                 return f"{name} you are in thunderbird"

sorting file

you can click the link above to see the full plan and my notes


Leave a Reply

Your email address will not be published. Required fields are marked *