Inspiration

This idea was inspired by the online game 'city guesser' link, in which a player, or multiple players watch a video walking through a specific place anywhere in the world and must guess the video's location on a world map. We wanted to do something similar, in the sense that we wanted to give people a chance to learn about what different parts of the world are like. As such, we decided to explore various cuisine around the globe in a simpler fashion when compared to city guesser (as this is our first hackathon) using a discord bot.

What it does

When prompted by the user with the command 'guess', the bot responds with a randomly generated image of food. The user is then given 3 attempts to guess which Country the dish is from, with the bot noting how many guesses the user has remaining. If the user gets the answer correct within 3 attempts, the bot responds with "Correct!", else the bot responds with "Unfortunate, you ran out of guesses, the answer was", then providing the correct answer to the user via a spoilered message (spoilered messages on discord are messages that need to be clicked on in order to view).

How we built it

We built this bot using Python and Discord's developer portal.

Challenges we ran into

Since this was our first time creating a Discord bot with Python, we ran into some initial issues of figuring how to set up the bot and getting it to carry out specific actions. After conducting some research and having perseverance, we were able to work together to create a working final product.

Accomplishments that we're proud of

Creating a working Discord bot, learning how to format certain aspects of the bot such as embeds, figuring out how to allow the user multiple guesses, and working as a team to construct the project creatively and efficiently.

What we learned

How different functions of a discord bot can be implemented, general discord bot documentation, how to write more efficient code, and how to collaborate effectively.

What's next for Botplup

Our future plans for Botplup involve the implementation of a leaderboard and profile where users can view their overall past score, win rate, and ranking against other users within the server.

As well, we may add more images to our database for greater variation and may choose to add more questions about the dish, such its specific name to increase difficulty.

Built With

Share this project:

Updates