Inspiration
The inspiration for the "Country Capital Guessing Game" comes from our love for learning about different countries and their capitals. We wanted to create a fun and interactive way for people to test their knowledge of world capitals and enhance their geographical awareness.
What it does
The "Country Capital Guessing Game" is a simple yet engaging game that randomly selects a country from a predefined dataset and prompts the player to guess its capital. The player receives immediate feedback on their answers and can track their score as they progress through the game.
How we built it
We built the "Country Capital Guessing Game" using Python, taking advantage of its simplicity and ease of use for quick development. The game utilizes a predefined dataset of countries and capitals represented as a dictionary. We designed the game flow to repeatedly select random countries from the dataset and prompt the player for their guesses. The game is run in the command-line interface, allowing for straightforward interaction with the user.
Challenges we ran into
Throughout the development process, we faced several challenges. One significant challenge was ensuring that the game provided accurate feedback for the player's guesses, taking into account different capital spellings and case sensitivity. Additionally, we wanted to create a smooth user experience without any bugs or errors that could disrupt the gameplay.
Accomplishments that we're proud of
We are proud of successfully implementing the "Country Capital Guessing Game" and creating an enjoyable and educational experience for users. The game provides immediate feedback and keeps track of the player's score, making it engaging and rewarding as players progress through their knowledge of world capitals.
What we learned
During the development of the "Country Capital Guessing Game," we deepened our understanding of Python programming, especially in handling dictionaries, string manipulation, and user input. We also learned about the significance of creating a user-friendly interface and providing clear instructions for a seamless user experience.
What's next for Country Capital Guessing Game
Moving forward, we plan to expand the game's features to make it more challenging and exciting. We aim to incorporate additional datasets and guessing challenges, such as identifying the flag of a country or guessing the country's location on a map. Additionally, we will explore opportunities to create a graphical user interface (GUI) to enhance the game's visuals and user engagement. Our goal is to continue providing an entertaining and educational experience for users to explore the world through the "Country Capital Guessing Game."
Log in or sign up for Devpost to join the conversation.