Skip to content

Latest commit

 

History

History
72 lines (66 loc) · 2.87 KB

readme.md

File metadata and controls

72 lines (66 loc) · 2.87 KB

Hogwarts Battle

During the Big Battle that occurred in Hogwarts, Voldemart asked Harry Potter for a one to one wizard fight. Harry set off on what he knew would be a suicide mission, to allow Voldemort to strike him with an Avada Kedavra spell in the forest just to kill the one of the two remaining horcruxes. Upon going gentle into that good night, Harry awakened in what appeared to be a milky white vision of King's Cross Station, where he'd hopped onto Platform 93⁄4 so many times before. Dumbledore awaited him with news that he'd successfully killed off the part of Voldemort that remained inside of him in the process of dying, and that he had a choice to board a train back to the realm of the living or to just move on ... to where, he didn't say. Harry, knowing his battle wasn't done, opted for the former.


Voldemart and Harry Potter cast the spells at the same time. Both of them have properties (helath, energy and shield) to cast the spell or even to defend the enemy’s spell. They have commun spells and each one of those wizards has special spells too.

More details are provided in the pdf.

Two Scenarios of Code Outputs


Enter the two spells (H then V): Crucio Crucio
Harry Voldmort
Health: 100 100
Energy: 460 460
Enter the two spells (H then V): Reducto Taboo
Harry Voldmort
Health: 80 100
Energy: 400 380
Enter the two spells (H then V): sheild AvadaKedavra
Harry Voldmort
Health: 80 100
Energy: 400 280
Enter the two spells (H then V): Reducto Confringo
Harry Voldmort
Energy: 340 225
Enter the two spells (H then V): Imperio AvadaKedavra
Harry Voldmort
Health: 0 95
Energy: 320 125
Voldmort is the winner



Enter the two spells (H then V): Crucio Crucio
Harry Voldmort
Health: 100 100
Energy: 460 460
Enter the two spells (H then V): Reducto Taboo
Harry Voldmort
Health: 80 100
Energy: 400 380
Enter the two spells (H then V): sheild AvadaKedavra
Harry Voldmort
Health: 80 100
Energy: 400 280
Enter the two spells (H then V): Reducto Confringo
Harry Voldmort
Health: 80 95
Energy: 340 225
Enter the two spells (H then V): Imperio Taboo
Harry Voldmort
Health: 20 95
Energy: 320 145
Enter the two spells (H then V): Fiendfyre AvadaKedavra
Harry Voldmort
Health: 0 95
Energy: 270 45
Voldmort is the winner