Harry Potter is a British icon, famous around the world. If you are a fan, I’m sure you’d love to know where you fit into the wizarding world.
Sorting Hat(align:"=><=")+(box:"X=")+(bg:#E6B000)[FoL]
(align:"=><=")[Presents]
#(align:"=><=")+(box:"X=")+(text-style:"bold","double-underline","outline")[(text-colour:#64352B)[The Sorting Hat]]
<img
class="fit-picture"
src="https://images.squarespace-cdn.com/content/5f57c8da5b4e905978984460/93192468-d939-4617-87c3-552acae59d72/sortinghat.png?content-type=image%2Fpng"
alt="The Sorting Hat" />
Welcome to your first year at Hogwarts!
Like all students, you must be sorted into your house.
Each house will encourage your strength and build on your weaknesses, so is very much based on your personality. Which one do you belong to?
Help the Sorting Hat place you by answering a few simple questions.
(text-style:"bold","sway")+(bg:(gradient: 115, 0,#64352B,0.5,#52261D,1,#64352B))+(align:"=><=")+(t8n-depart:"fade-up")+(t8n-arrive:"fade-up")[[[Begin->Begin]]]
Will you be a (text-colour:#740001)[Gryffindor], known for bravery, helping others, and chivalry?
Will you be a (text-colour:#f0c75e)[Hufflepuff], known for hard work, patience, loyalty, and fair play?
Will you be a (text-colour:#222f5b)[Ravenclaw], known for intelligence, knowledge, planning ahead, and wit?
Will you be a (text-colour:#1a472a)[Slytherin], known for ambition, cunningness, heritage, and resourcefulness?
(set: $gry to 0)(set: $huf to 0)(set: $sly to 0)(set: $rav to 0)(text-style:"underline")[What is your sex?]
(dropdown: 2bind $sex,"Male","Female")
(text-style:"underline")[What is your name?]
(input-box:2bind $name,"=XX=",1,"Sam")
[[> Continue->Character Check]]So you are a $sex named $name.
Is this correct?
(t8n-depart:"fade-up")+(t8n-arrive:"fade-up")[[> Yes->Start Story]]
[[> No->Begin]]
<img
class="fit-picture"
src="https://images.squarespace-cdn.com/content/5f57c8da5b4e905978984460/5adb7881-177e-4099-9035-aaa6aedb9a82/3dhat.jpeg?content-type=image%2Fjpeg"
alt="The Sorting Hat"
height="300"/>Which of the following animals do you relate to best?
Dragon, Unicorn, Phoenix
(dropdown: 2bind $animalrelate,"Dragon","Unicorn","Phoenix")
[[> Continue->hurt]]You would be most hurt if a person called you...:
(checkbox: bind $weak, " Weak")
(checkbox: bind $stupid, " Ignorant/Stupid")
(checkbox: bind $unkind, " Unkind")
(checkbox: bind $boring, " Boring")
[[> Continue->duel]]You are in a duel against a skilled opponent. They fire a spell at you.
What do you shout?
Expelliarmus! (Disarm them)
Protego! (Block the attack)
Stupefy! (Stun them)
Crucio! (Hurt them)
(dropdown: 2bind $duel,"Expelliarmus","Protego","Stupefy","Crucio")
[[> Continue->quotes]]<img
class="fit-picture"
src="https://images.squarespace-cdn.com/content/5f57c8da5b4e905978984460/5adb7881-177e-4099-9035-aaa6aedb9a82/3dhat.jpeg?content-type=image%2Fjpeg"
alt="The Sorting Hat"
height="300"/>
(if:visits is 1)[Are you ready to discover which house you belong to?
(if: $gry is (max: $rav, $huf, $sly))[Very interesting...
[[> One more question...->bonus]]](elseif: $rav is (max: $gry, $huf, $sly))[Very interesting...
[[> One more question...->bonus]]](elseif: $huf is (max: $gry, $rav, $sly))[Very interesting...
[[> One more question...->bonus]]](elseif: $sly is (max: $gry, $huf, $rav))[Very interesting...
[[> One more question...->bonus]]]
(else:)[I have made my decision.
Of course it has to be...
[[> Tell me->Result]]]](if:visits >= 2)[(if: $gry is (max: $rav, $huf, $sly))[(if:$preference is "Gryffindor")[(set: $gry to ($gry+2))(set: $sly to ($sly+1))](if:$preference is "Ravenclaw")[(set: $rav to ($rav+2))(set: $huf to ($huf+1))](if:$preference is "Hufflepuff")[(set: $huf to ($huf+2))(set: $gry to ($gry+1))(set: $sly to ($sly-1))](if:$preference is "Slytherin")[(set: $sly to ($sly+2))(set: $rav to ($rav+1))(set: $gry to ($gry-2))]](elseif: $rav is (max: $gry, $huf, $sly))[(if:$preference is "Gryffindor")[(set: $gry to ($gry+2))(set: $sly to ($sly+1))](if:$preference is "Ravenclaw")[(set: $rav to ($rav+2))(set: $huf to ($huf+1))](if:$preference is "Hufflepuff")[(set: $huf to ($huf+2))(set: $gry to ($gry+1))(set: $sly to ($sly-1))](if:$preference is "Slytherin")[(set: $sly to ($sly+2))(set: $rav to ($rav+1))(set: $gry to ($gry-2))]](elseif: $huf is (max: $gry, $rav, $sly))[(if:$preference is "Gryffindor")[(set: $gry to ($gry+2))(set: $sly to ($sly+1))](if:$preference is "Ravenclaw")[(set: $rav to ($rav+2))(set: $huf to ($huf+1))](if:$preference is "Hufflepuff")[(set: $huf to ($huf+2))(set: $gry to ($gry+1))(set: $sly to ($sly-1))](if:$preference is "Slytherin")[(set: $sly to ($sly+2))(set: $rav to ($rav+1))(set: $gry to ($gry-2))]](elseif: $sly is (max: $gry, $huf, $rav))[(if:$preference is "Gryffindor")[(set: $gry to ($gry+2))(set: $sly to ($sly+1))](if:$preference is "Ravenclaw")[(set: $rav to ($rav+2))(set: $huf to ($huf+1))](if:$preference is "Hufflepuff")[(set: $huf to ($huf+2))(set: $gry to ($gry+1))(set: $sly to ($sly-1))](if:$preference is "Slytherin")[(set: $sly to ($sly+2))(set: $rav to ($rav+1))(set: $gry to ($gry-2))]]
I have made my decision.
Of course it has to be...
[[> Tell me->Result]]
]$name belongs in
<img
class="fit-picture"
src="https://images.squarespace-cdn.com/content/5f57c8da5b4e905978984460/458fd086-a954-414a-bc88-f132a4a249db/sortinghatshout.png?content-type=image%2Fpng"
alt="The Sorting Hat"
height="300"/>
(font: "font-size:500%")[(if: $gry > (max: $rav, $huf, $sly))[(text-colour:#740001)[Gryffindor!]]
(elseif: $huf > (max: $rav, $gry, $sly))[(text-colour:#f0c75e)[Hufflepuff]](elseif: $rav > (max: $huf, $gry, $sly))[(text-colour:#222f5b)[Ravenclaw]](elseif: $sly > (max: $rav, $gry, $huf))[(text-colour:#1a472a)[Slytherin]]]
(meter: bind $sly, 30, "X", "Slytherin", (gradient: 90, 0, grey, 1, green))
(meter: bind $gry, 30, "X", "Gryffindor", (gradient: 90, 0, grey, 1, red))
(meter: bind $huf, 30, "X", "Hufflepuff", (gradient: 90, 0, grey, 1, yellow))
(meter: bind $rav, 30, "X", "Ravenclaw", (gradient: 90, 0, grey, 1, blue))Which of these Dumbledore quotations speaks to you?
(checkbox: bind $quote1, " Pity the living, and above all, those who live without love.")
(checkbox: bind $quote2, " Words are, in my not-so-humble opinion, our most inexhaustible source of magic. ")
(checkbox: bind $quote3, " It matters not what someone is born, but what they grow to be.")
(checkbox: bind $quote4, " It does not do to dwell on dreams and forget to live.")
[[> Continue->friends]]Which of these most accurately describes your relationship with friends?
The more the better!
I only have a few close friends that I trust completely.
I am wary of new people, so I don’t make new friends often.
I make friends with people who will help me succeed.
(dropdown: 2bind $friends,"The more the better!","I only have a few close friends that I trust completely.","I am wary of new people, so I don’t make new friends often.","I make friends with people who will help me succeed.")
[[> Continue->pets]]Which of the following pets would you have?
Cat, Owl, Toad, Rat, Snake, None
(checkbox: bind $cat, " Cat")
(checkbox: bind $owl, " Owl")
(checkbox: bind $toad, " Toad")
(checkbox: bind $rat, " Rat")
(checkbox: bind $snake, " Snake")
(checkbox: bind $none, " None")
[[> Continue->priorities]]What is most important to you?
(checkbox: bind $adventure, " Adventure")
(checkbox: bind $wealth, " Wealth")
(checkbox: bind $power, " Power")
(checkbox: bind $family, " Friends and Family")
(checkbox: bind $wisdom, " Knowledge and Wisdom")
[[> Continue->decisions]]When you make a decision, what are you most likely to listen to?
Brain, Heart, Gut instinct
(dropdown: 2bind $decider,"Brain","Heart","Gut instinct")
[[> Continue->preference]]The Sorting Hat will consider your preference.
<img
class="fit-picture"
src="https://images.squarespace-cdn.com/content/5f57c8da5b4e905978984460/5adb7881-177e-4099-9035-aaa6aedb9a82/3dhat.jpeg?content-type=image%2Fjpeg"
alt="The Sorting Hat"
height="300"/>
Which house do you think you should be in?
Gryffindor, Ravenclaw, Hufflepuff, Slytherin
(dropdown: 2bind $preference,"Gryffindor","Ravenclaw","Hufflepuff","Slytherin")
[[> Continue->considering]]
(if:$animalrelate is "Dragon")[(set: $sly to ($sly+2))(set: $rav to ($rav+2))(set: $huf to ($huf+1))]
(if:$animalrelate is "Unicorn")[(set: $gry to ($gry+2))(set: $huf to ($huf+2))(set: $rav to ($rav+1))]
(if:$animalrelate is "Phoenix")[(set: $gry to ($gry+2))(set: $sly to ($sly+2))(set: $huf to ($huf+1))]
(if:$weak is true)[(set: $sly to ($sly+2))(set: $gry to ($gry+1))]
(if:$stupid is true)[(set: $huf to ($huf+1))(set: $sly to ($sly+1))(set: $rav to ($rav+2))]
(if:$unkind is true)[(set: $rav to ($rav+1))(set: $huf to ($huf+2))(set: $gry to ($gry+1))]
(if:$boring is true)[(set: $sly to ($sly+1))(set: $gry to ($gry+2))]
(if:$duel is "Expelliarmus")[(set: $rav to ($rav+1))(set: $huf to ($huf+2))(set: $gry to ($gry+1))]
(if:$duel is "Protego")[(set: $rav to ($rav+1))(set: $huf to ($huf+2))(set: $gry to ($gry+2))]
(if:$duel is "Stupefy")[(set: $rav to ($rav+2))(set: $gry to ($gry+1))(set: $sly to ($sly+1))]
(if:$duel is "Crucio")[(set: $sly to ($sly+2))]
(if:$quote1 is true)[(set: $gry to ($gry+2))(set: $huf to ($huf+1))]
(if:$quote2 is true)[(set: $rav to ($rav+2))]
(if:$quote3 is true)[(set: $huf to ($huf+1))(set: $sly to ($sly+2))]
(if:$quote4 is true)[(set: $gry to ($gry+1))(set: $huf to ($huf+2))]
(if:$friends is "The more the better!")[(set: $gry to ($gry+1))(set: $huf to ($huf+1))]
(if:$friends is "I only have a few close friends that I trust completely.")[(set: $gry to ($gry+2))(set: $sly to ($sly+1))]
(if:$friends is "I am wary of new people, so I don’t make new friends often.")[(set: $huf to ($huf+2))(set: $rav to ($rav+1))]
(if:$friends is "I make friends with people who will help me succeed.")[(set: $sly to ($sly+2))(set: $rav to ($rav+1))]
(if:$cat is true)[(set: $gry to ($gry+2))(set: $rav to ($rav+1))(set: $huf to ($huf+1))]
(if:$owl is true)[(set: $gry to ($gry+1))(set: $rav to ($rav+2))(set: $sly to ($sly+1))]
(if:$toad is true)[(set: $huf to ($huf+2))(set: $sly to ($sly+1))]
(if:$rat is true)[(set: $gry to ($gry+1))(set: $sly to ($sly+1))]
(if:$snake is true)[(set: $rav to ($rav+1))(set: $sly to ($sly+2))]
(if:$none is true)[(set: $huf to ($huf+2))(set: $sly to ($sly+2))]
(if:$adventure is true)[(set: $gry to ($gry+2))(set: $sly to ($sly+1))]
(if:$wealth is true)[(set: $sly to ($sly+2))(set: $rav to ($rav+1))]
(if:$power is true)[(set: $gry to ($gry+1))(set: $sly to ($sly+2))]
(if:$family is true)[(set: $gry to ($gry+1))(set: $huf to ($huf+2))]
(if:$wisdom is true)[(set: $rav to ($rav+2))(set: $huf to ($huf+1))]
(if:$decider is "Brain")[(set: $rav to ($rav+2))(set: $sly to ($sly+1))]
(if:$decider is "Heart")[(set: $huf to ($huf+2))(set: $gry to ($gry+1))]
(if:$decider is "Gut instinct")[(set: $gry to ($gry+2))(set: $sly to ($sly+1))(set: $huf to ($huf+1))](if: $gry is (max: $rav, $huf, $sly))[Very interesting...(if:$preference is "Gryffindor")[(set: $gry to ($gry+2))](if:$preference is "Ravenclaw")[(set: $rav to ($rav+2))](if:$preference is "Hufflepuff")[(set: $huf to ($huf+2))](if:$preference is "Slytherin")[(set: $sly to ($gry+2))]](set: $rav to ($rav+2))(set: $sly to ($sly+1))]](elseif: $rav is (max: $gry, $huf, $sly))[Very interesting....](elseif: $huf is (max: $gry, $rav, $sly))[Very interesting....](elseif: $sly is (max: $gry, $huf, $rav))[Very interesting....](else:)[Of course it has to be...]Which of these is your favourite magic class?
Potions
Defence Against the Dark Arts
Care of Magical Creatures
Charms
History of Magic
Divination
Transfiguration
(dropdown: 2bind $class,"Potions","Defence Against the Dark Arts","Care of Magical Creatures","Charms","History of Magic","Divination","Transfiguration")
[[> Continue->bonus final]]So $name. I have learned a few things about you. Let me take a moment to think.
<img
class="fit-picture"
src="https://images.squarespace-cdn.com/content/5f57c8da5b4e905978984460/5adb7881-177e-4099-9035-aaa6aedb9a82/3dhat.jpeg?content-type=image%2Fjpeg"
alt="The Sorting Hat"
height="300"/>
I want to get this right.
[[> Continue->final check]]
(if:$preference is "Gryffindor")[(set: $gry to ($gry+2))(set: $sly to ($sly+1))]
(if:$preference is "Ravenclaw")[(set: $rav to ($rav+2))(set: $huf to ($huf+1))]
(if:$preference is "Hufflepuff")[(set: $huf to ($huf+2))(set: $gry to ($gry+1))(set: $sly to ($sly-1))]
(if:$preference is "Slytherin")[(set: $sly to ($sly+2))(set: $rav to ($rav+1))(set: $gry to ($gry-2))]Yes... now I have it...
<img
class="fit-picture"
src="https://images.squarespace-cdn.com/content/5f57c8da5b4e905978984460/5adb7881-177e-4099-9035-aaa6aedb9a82/3dhat.jpeg?content-type=image%2Fjpeg"
alt="The Sorting Hat"
height="300"/>
[[> Continue->final check]]
(if:$class is "Potions")[(set: $gry to ($gry+1))(set: $sly to ($sly+3))(set: $rav to ($rav+4))(set: $huf to ($huf+2))]
(if:$class is "Defence Against the Dark Arts")[(set: $gry to ($gry+4))(set: $sly to ($sly+3))(set: $rav to ($rav+2))(set: $huf to ($huf+1))]
(if:$class is "Care of Magical Creatures")[(set: $gry to ($gry+3))(set: $sly to ($sly+1))(set: $rav to ($rav+2))(set: $huf to ($huf+4))]
(if:$class is "History of Magic")[(set: $gry to ($gry+1))(set: $sly to ($sly+2))(set: $rav to ($rav+4))(set: $huf to ($huf+3))]
(if:$class is "Divination")[(set: $gry to ($gry+3))(set: $sly to ($sly+2))(set: $rav to ($rav+1))(set: $huf to ($huf+4))]
(if:$class is "Transfiguration")[(set: $gry to ($gry+2))(set: $sly to ($sly+4))(set: $rav to ($rav+3))(set: $huf to ($huf+1))]
(if:$class is "Charms")[(set: $gry to ($gry+2))(set: $sly to ($sly+1))(set: $rav to ($rav+3))(set: $huf to ($huf+4))]