Wizard chess
Hospital Wing
Mirror

Harry Potter Text Game

This is a Python project from 3rd year. I made a text adventure game where players followed in the steps of Harry trying to find the Philosophers Stone before Lord Voldemort. My children are huge fans and it was great to make something they would enjoy.

Homepage

Key features

The main coding was the game. Players could make a choice between two options. Later on in the game there were questions the users had to answer correctly.

There was also a hints and tips page using JavaScript (hints were revealed by clicking on areas players could get stuck on), a character page and a login system so people could go back to their previous saved locations.

Code

Learnings

I learnt how to make a Python game and a good amount of Python along with that. I was also able to make the Harry Potter music play as the user went through the game. The JavaScript hints and tips page was fun. It was great to be in charge of a complicated project and pull it off quite well.

Page screenshot

Challenges

I had never used Python before, the two main issues I had was learning the code in the first place and then actually making the website work online! I spent maybe four hours trying to get the website to work and was actually further back than when I started, I stuck to it and managed eventually.

Thinkings