Inspiration

This project was created to help students enhance their studying while keeping them engaged through an interactive game. We wanted to develop a better studying method for students that makes practicing material fun. We especially wanted to help students with low attention spans, similar to us.

What it does

Once the user inputs the topics they wish to study (<5 topics per maze), the program generates a list of questions with multiple choice answers. These questions are represented as food that Pac-Man has to race to consume before the ghosts catch up. When Pac-Man consumes a "food", a question related to the topic(s), mentioned earlier, appears for the user to answer. If correct, the user earns points. The user also has the ability to save a maze.

How we built it

We used React DOM for the frontend and python for the backend. On the backend, we had API calls to OpenAI to get a json file with the list of questions and answers.

Challenges we ran into

We had trouble merging the frontend and backend. To solve this issue, we added checks to assess whether information was being passed correctly. We had trouble pausing the game after Pac-Man consumed a "food".

Accomplishments that we're proud of

We are proud of each other for the dedication and persistence we showed throughout this experience.

What we learned

We learnt how to randomly place "food" on the maze. We had different implementation at first and debated on the most efficient method to take. In the end, we decided to implement the algorithm with the best runtime.

What's next for KnowledgeGrasp

We plan to continue our endeavor to help students have an enhanced grasp on their chosen topics.

Built With

Share this project:

Updates