Discord is a very commonly used gaming messaging app. We wanted to create a built-in game through our bot so that all gamers, especially beginners, can all enjoy a simple but fun game in their free time.

What it does

The discord bot acts like a dealer in blackjack. The bot deals two cards to the user that types in the commands and will deal more cards if the user desires. At the end of the hand, the dealer will play his hand and calculate who won.

How we built it

We built it using python. We imported the discord API and utilized python scripts to connect the coded bot to discord.

Challenges we ran into

We ran into many challenges. We struggled with numerous software issues while trying to create the discord bot in python. After encountering this difficulty, we approached a more beginner-friendly API, slack, and utilized this newfound knowledge to finish coding our discord bot.

Accomplishments that we're proud of

We are proud of connecting our python code to the discord bot. As beginners, we took a very long time understanding how to even approach the problem. After hours of frustration and many red bulls, we finally persevered.

What we learned

We learned about discord API, raised our level of python understanding, and learned how to use GitHub.

What's next for Blackjack Discord Bot

We want to make this Blackjack Discord Bot into a multiuser game where all users compete against the dealer. Each user would be direct messaged their own cards and the results would be posted on the server. We have the backend code but were unfortunately unable to connect it to discord.

Built With

Share this project: