Inspiration

We were inspired by the Political Science field and resources like Scratch. Our Front End Developer is a Political Science major, so doing a project that combined the two helped us all stay motivated through the end.

What it does

Students learn about the polling process and basics of Political Science and Computer Science by answering questions about Python related to the supplied information.

How we built it

This hack was programmed using HTML/CSS, JavaScript, and Python. It uses a Flask framework to integrate Python data with the HTML pages. JavaScript acts as the project's intermediary, delivering HTML inputs to our Python scripts and vice versa. Animal graphics were drawn by hand and added to the project by the graphic designer.

Challenges we ran into

There were some Git refactors that were necessary due to Flask integration that set us back. With 24 hours to make a game, every minute counts, so these were some major blows. Our Graphic Designer also suffered an injury, and we hope she recovers quickly.

Accomplishments that we're proud of

Most of our team is new to Computer Science, and none of us have worked with Flask before, so just making a project of this scope was an accomplishment. Even though it is not finished, it is functional, which we see as an achievement.

What we learned

We learned how much time that even the smallest of resources and components can take. The program that we had went through numerous refactors while we were in the experimental phase, which constantly shifted things around, broke POST requests, etc. We also learned how to work under the wire and in modified circumstances, as we had a good rhythm working on the project in shifts.

What's next for Presidential Pets

There are a number of ways to expand on Presidential Pets, such as adding multiple routes and more complex functions in order to further associate the two. One example of an additional knowledge test could be defining a Python function that gathered the number of cats and dogs voting for you and returning whether or not you had a good chance at winning in a certain area. We would also want to complete and perfect the code for our module.

Since this is only one focus, we could also potentially expand to other subjects in the long term. Most changes in this scenario would need to be in the front-end, though back-end would need to be greatly expanded if all versions were to be hosted in one central location.

Share this project:

Updates