{"id":24510942,"url":"https://github.com/eslamdyab21/hogwarts-battle-cpp","last_synced_at":"2025-03-15T09:42:57.646Z","repository":{"id":107985598,"uuid":"383298766","full_name":"eslamdyab21/Hogwarts-Battle-Cpp","owner":"eslamdyab21","description":"This repository has the code of Hogwarts Battle written in Cpp. it's the final software project of the training phase in MIA technical team.","archived":false,"fork":false,"pushed_at":"2021-07-06T01:01:13.000Z","size":7042,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-22T00:37:45.769Z","etag":null,"topics":["cpp","harry-potter","hogwarts","mia","voldemort","wizards"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eslamdyab21.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-07-06T00:51:52.000Z","updated_at":"2023-05-06T14:09:03.000Z","dependencies_parsed_at":"2023-06-26T02:04:11.444Z","dependency_job_id":null,"html_url":"https://github.com/eslamdyab21/Hogwarts-Battle-Cpp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eslamdyab21%2FHogwarts-Battle-Cpp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eslamdyab21%2FHogwarts-Battle-Cpp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eslamdyab21%2FHogwarts-Battle-Cpp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eslamdyab21%2FHogwarts-Battle-Cpp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eslamdyab21","download_url":"https://codeload.github.com/eslamdyab21/Hogwarts-Battle-Cpp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243713401,"owners_count":20335566,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cpp","harry-potter","hogwarts","mia","voldemort","wizards"],"created_at":"2025-01-22T00:35:43.510Z","updated_at":"2025-03-15T09:42:57.640Z","avatar_url":"https://github.com/eslamdyab21.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hogwarts Battle\nDuring the Big Battle that occurred in Hogwarts, Voldemart asked\nHarry Potter for a one to one wizard fight. Harry set off on what he\nknew would be a suicide mission, to allow Voldemort to strike him\nwith an Avada Kedavra spell in the forest just to kill the one of the\ntwo remaining horcruxes.\nUpon going gentle into that good night, Harry awakened in what\nappeared to be a milky white vision of King's Cross Station, where\nhe'd hopped onto Platform 93⁄4 so many times before. Dumbledore\nawaited him with news that he'd successfully killed off the part of\nVoldemort that remained inside of him in the process of dying, and\nthat he had a choice to board a train back to the realm of the living\nor to just move on ... to where, he didn't say.\nHarry, knowing his battle wasn't done, opted for the former.\n\n\u003cbr\u003eVoldemart and Harry Potter cast the spells at the same time. Both of\nthem have properties (helath, energy and shield) to cast the spell or\neven to defend the enemy’s spell. They have commun spells and\neach one of those wizards has special spells too.\n\nMore details are provided in the pdf.\n\n## Two Scenarios of Code Outputs\n\n\u003cbr\u003eEnter the two spells (H then V): Crucio Crucio\n\u003cbr\u003e        Harry          Voldmort\n\u003cbr\u003eHealth: 100             100\n\u003cbr\u003eEnergy: 460             460\n\u003cbr\u003eEnter the two spells (H then V): Reducto Taboo\n\u003cbr\u003e        Harry          Voldmort\n\u003cbr\u003eHealth: 80             100\n\u003cbr\u003eEnergy: 400             380\n\u003cbr\u003eEnter the two spells (H then V): sheild AvadaKedavra\n\u003cbr\u003e        Harry          Voldmort\n\u003cbr\u003eHealth: 80             100\n\u003cbr\u003eEnergy: 400             280\n\u003cbr\u003eEnter the two spells (H then V): Reducto Confringo\n\u003cbr\u003e        Harry          Voldmort\n\u003cbr\u003eEnergy: 340             225\n\u003cbr\u003eEnter the two spells (H then V): Imperio AvadaKedavra\n\u003cbr\u003e        Harry          Voldmort\n\u003cbr\u003eHealth: 0             95\n\u003cbr\u003eEnergy: 320             125\n\u003cbr\u003eVoldmort is the winner\n\n--------------------------------------------------------------------------\n\n\u003cbr\u003eEnter the two spells (H then V): Crucio Crucio\n\u003cbr\u003e        Harry          Voldmort\n\u003cbr\u003eHealth: 100             100\n\u003cbr\u003eEnergy: 460             460\n\u003cbr\u003eEnter the two spells (H then V): Reducto Taboo\n\u003cbr\u003e        Harry          Voldmort\n\u003cbr\u003eHealth: 80             100\n\u003cbr\u003eEnergy: 400             380\n\u003cbr\u003eEnter the two spells (H then V): sheild AvadaKedavra\n\u003cbr\u003e        Harry          Voldmort\n\u003cbr\u003eHealth: 80             100\n\u003cbr\u003eEnergy: 400             280\n\u003cbr\u003eEnter the two spells (H then V): Reducto Confringo\n\u003cbr\u003e        Harry          Voldmort\n\u003cbr\u003eHealth: 80             95\n\u003cbr\u003eEnergy: 340             225\n\u003cbr\u003eEnter the two spells (H then V): Imperio Taboo\n\u003cbr\u003e        Harry          Voldmort\n\u003cbr\u003eHealth: 20             95\n\u003cbr\u003eEnergy: 320             145\n\u003cbr\u003eEnter the two spells (H then V): Fiendfyre AvadaKedavra\n\u003cbr\u003e        Harry          Voldmort\n\u003cbr\u003eHealth: 0             95\n\u003cbr\u003eEnergy: 270             45\n\u003cbr\u003eVoldmort is the winner\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feslamdyab21%2Fhogwarts-battle-cpp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feslamdyab21%2Fhogwarts-battle-cpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feslamdyab21%2Fhogwarts-battle-cpp/lists"}