Inspiration

This was the first thing that came to mind when we heard about the pirate subtheme. We've always wanted to do an environmental/sustainability theme, so we immediately got to work.

What it does

The game teaches players about sustainability challenges that specific regions around the world face. It does this by quizzing them with 3 questions per region in a system-stored array of 10 fully pirate-themed questions per region, including explanations. Every correct and wrong answer has a corresponding unique message that the pirate will give to the user reflecting the specific sustainability challenge that the particular region faces. There are a total of 60 test questions in the game. Randomness is provided for replayability. After completing all six regions, the user is rewarded with a ship that the pirate at the beginning teased, ending off with a random one out of another 10 system-stored series of ending messages promoting environmental and sustainability activities.

How we built it

We used JavaScript, HTML, and CSS to build it. No JS frameworks were used. We used Piskel to create the pixelart.

Challenges we ran into

As we were all a bit rusty to some extent, we were able to relearn certain materials like CSS animations and how to style everything in an organized fashion.

Accomplishments that we're proud of

We were able to complete this project within 24 hours, albeit we stayed up all night doing this project.

What we learned

We learned many new things about coding these types of games on a website. We learned how to use Promises and asynchronous functions that we didn't know were viable in JavaScript. During this process, we also learned about the sustainability challenges that we didn't originally know about through research. We also learned how to use piskel to create majority of the pixelart on the website.

What's next for EcoPirates Quest

We think that this project has really come a long way, albeit it was created in a day. It may have the potential to be integrated into a bigger sustainability project. But for now, we will try to fully finish and revamp aspects of the game that we didn't have time for.

Built With

Share this project:

Updates