{"id":79,"date":"2026-01-09T14:43:55","date_gmt":"2026-01-09T14:43:55","guid":{"rendered":"https:\/\/theroyalscode.com\/students\/l_smith\/?p=79"},"modified":"2026-01-09T15:00:54","modified_gmt":"2026-01-09T15:00:54","slug":"hp-game","status":"publish","type":"post","link":"https:\/\/theroyalscode.com\/students\/l_smith\/2026\/01\/09\/hp-game\/","title":{"rendered":"hp game stage 1 day 4 teachers,headmasters,heads of house"},"content":{"rendered":"\n<p>so for some reason i cam&#8217;t get the github to work so the code isnt up to date there but im going to explain what i did <\/p>\n\n\n\n<p><a href=\"https:\/\/docs.google.com\/document\/d\/1BL5QrtWzxPMgtxUprEPQTWSab60QFM5qK0edP2zHVJY\/edit?tab=t.0\">https:\/\/docs.google.com\/document\/d\/1BL5QrtWzxPMgtxUprEPQTWSab60QFM5qK0edP2zHVJY\/edit?tab=t.0<\/a><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>class teachers:\n\n&nbsp; &nbsp; headmaster = \"Sammi Hill\"\n\n&nbsp; &nbsp; potions_teacher = \"Professor Jameson Hill\"\n\n&nbsp; &nbsp; herbology_teacher = \"Richman Wilson\"\n\n&nbsp; &nbsp; transfiguration_teacher = \"Dr. Eleanor Frost\"\n\n&nbsp; &nbsp; defense_teacher = \"Professor Marcus Blackwood\"\n\n&nbsp; &nbsp; charms_teacher = \"Ms. Lila Green\"\n\n&nbsp; &nbsp; flying_teacher = \"Captain Amelia Swift\"\n\n&nbsp; &nbsp; magical_creatures_teacher = \"Dr. Samuel Thorn\"\n\n&nbsp; &nbsp; divination_teacher = \"Madam Seraphina Moon\"\n\n&nbsp; &nbsp; history_teacher = \"Professor Alistair Grey\"\n\n&nbsp; &nbsp; arithmancy_teacher = \"Dr. Vivian Clarke\"\n\n&nbsp; &nbsp; muggle_studies_teacher = \"Mr. Thomas Baker\"\n\n&nbsp; &nbsp; ancient_runes_teacher = \"Professor Ingrid Stone\"\n\n&nbsp; &nbsp; magical_law_teacher = \"Judge Helena Rivers\"\n\n&nbsp; &nbsp; advanced_potion_teacher = \"Professor Victor Lang\"\n\n&nbsp; &nbsp; dark_arts_teacher = \"Professor Cassandra Nightshade\"\n\n&nbsp; &nbsp; magical_theory_teacher = \"Dr. Leonard Bright\"\n\n&nbsp; &nbsp; wizarding_history_teacher = \"Professor Margaret Willow\"<\/code><\/pre>\n\n\n\n<p>heres the list of teachers so what i did was used a name genratetor said give me harry potter based names and it gave me these <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>   class head_of_house:\n  phoehix=\"Professor Ember Ashford, expert in Defense Against the Dark Arts.\"\n  thunderbird=\"Professor Skylar Windrider, specialist in Magical Creatures.\"\n dragon=\"Professor Drake Firestone, authority on Potions and Alchemy.\"\nwolf=\"Professor Luna Silvermoon, mentor in Herbology and Care of Magical Creatures.\"\n hippogriff=\"Professor Aurora Starling, guide in Charms and Enchantments.\"\n sphinx=\"Professor Orion Nightshade, scholar in Ancient Runes and Magical History.\"<\/code><\/pre>\n\n\n\n<p>this is the code for head of house just like Professor Minerva McGonagall is for Gryffindor House in harry potter but using my teachers and houses <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"865\" height=\"217\" src=\"https:\/\/theroyalscode.com\/students\/l_smith\/wp-content\/uploads\/2026\/01\/image.png\" alt=\"\" class=\"wp-image-80\" srcset=\"https:\/\/theroyalscode.com\/students\/l_smith\/wp-content\/uploads\/2026\/01\/image.png 865w, https:\/\/theroyalscode.com\/students\/l_smith\/wp-content\/uploads\/2026\/01\/image-300x75.png 300w, https:\/\/theroyalscode.com\/students\/l_smith\/wp-content\/uploads\/2026\/01\/image-768x193.png 768w\" sizes=\"auto, (max-width: 865px) 100vw, 865px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"609\" height=\"462\" src=\"https:\/\/theroyalscode.com\/students\/l_smith\/wp-content\/uploads\/2026\/01\/image-1.png\" alt=\"\" class=\"wp-image-81\" srcset=\"https:\/\/theroyalscode.com\/students\/l_smith\/wp-content\/uploads\/2026\/01\/image-1.png 609w, https:\/\/theroyalscode.com\/students\/l_smith\/wp-content\/uploads\/2026\/01\/image-1-300x228.png 300w\" sizes=\"auto, (max-width: 609px) 100vw, 609px\" \/><\/figure>\n\n\n\n<p>today was a 1 class day so i didn&#8217;t get to much done <\/p>\n\n\n\n<p>see you next week  <\/p>\n\n\n\n<p class=\"has-text-align-center\"><strong>1\/16\/26<\/strong><\/p>\n\n\n\n<p>next week will be coding the trasfer for teachers and students <\/p>\n","protected":false},"excerpt":{"rendered":"<p>so for some reason i cam&#8217;t get the github to work so the code isnt up to date there but im going to explain what i did https:\/\/docs.google.com\/document\/d\/1BL5QrtWzxPMgtxUprEPQTWSab60QFM5qK0edP2zHVJY\/edit?tab=t.0 heres the list of teachers so what i did was used a name genratetor said give me harry potter based names and it gave me these this [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-79","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/theroyalscode.com\/students\/l_smith\/wp-json\/wp\/v2\/posts\/79","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theroyalscode.com\/students\/l_smith\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/theroyalscode.com\/students\/l_smith\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/l_smith\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/l_smith\/wp-json\/wp\/v2\/comments?post=79"}],"version-history":[{"count":3,"href":"https:\/\/theroyalscode.com\/students\/l_smith\/wp-json\/wp\/v2\/posts\/79\/revisions"}],"predecessor-version":[{"id":86,"href":"https:\/\/theroyalscode.com\/students\/l_smith\/wp-json\/wp\/v2\/posts\/79\/revisions\/86"}],"wp:attachment":[{"href":"https:\/\/theroyalscode.com\/students\/l_smith\/wp-json\/wp\/v2\/media?parent=79"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/l_smith\/wp-json\/wp\/v2\/categories?post=79"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/l_smith\/wp-json\/wp\/v2\/tags?post=79"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}