Inspiration

For our project, we wanted to create an educational game to help people learn facts in a fun way. We decided to make a game about learning countries' flags and call it Earth Discovery.

What it does

The goal of the game is for the user to pick the correct flag for the country name that appears on the screen In the game, the student has an avatar controlled by the user which moves back and forth at the bottom of the screen. The flags of several different countries randomly move around the screen above them. They must launch a shooting star from their avatar, aiming for the flag of the correct country. Points are accumulated by hitting the correct flag, and the game ends once the player gets every question right.

How we built it

We programmed our game using python and its pygame library. We wrote our code on PyCharm and Visual Studio Code and collaborated through GitHub.

Challenges we ran into

Working remotely was one major challenge for our team. Since this was the first Hackathon that any of us have done, it also took us a lot of trial and error to learn to collaborate smoothly through our IDEs and GitHub.

In programming our game, the most challenging parts were fixing the code so that the flags would bounce off when they collided instead of getting clumped together, and making sure they did not spawn on top of each other.

Accomplishments that we're proud of

We were proud to successfully incorporate fun background music and sound effects into the game. We are most proud of overcoming all the challenges we faced in our project and achieving what we set out to do.

What we learned

We learned how to use the pygame library in python and how to use GitHub as collaborators.

What's next for Earth Invaders

We can continue building and improving this game to include multiple levels with more flags and challenges.

Built With

Share this project:

Updates