This was a project was part of a university module where we had to develop a site based off a brief. The brief I chose focussed on "Developing an online solution to something which is usually done offline". I chose to focus on Dungeons and dragons and developped a website which would allow the user to host a character sheet.
We were asked to look into exisitng competitions in order to find a brief to submit this project to. I found a few available tasks which were in the field I wanted to gain some experience in, web development. The best one I found, however, was one by w3awards.
One of the first things I did was look into existing ways of playig dungeons and dragons online. I discovered there are a few different ways, though the best free one I could discover is called roll20 After discovering this, I decided to contact some of my friends who I knew played and ask them some questions. I also put out a google form in order to get a few more responses than the limited amount I was able to get otherwise. Much of my information was sent in the format of messages back and forth.
I organised these into a table so that I could easily look through all the responses. The responses offered a wide variety of features that I could and should implement. I think If I were to continue with this project outside of the course/competition environment, I'd definetly attempt to incorporate most if not all of these into the web-app.
One thing I wanted to have for this site was a way of users being able to log in to an account so they can easily access their sheet once they create it. This because excessively difficult and my time over-ran by quite a lot due to struggling with this, I was repeatedly running into the same problem. After a couple weeks I managed to allow users to register but not login, this was significantly thanks to this tutorial by codingcage. I decided it would be best to move onto something else so as to note waste any more time.
At this point I came back to my login struggles and with the help of my lecturer Steve I found out what my problem was, In my php file I had already declared a header and so attempting to redirect kept failing when you would login, with this solved I could move onto what turned out to be the biggest challenge of the project, the character sheet.
Click here for download!
This will require you to set up a localhost and import the SQL file.