Inspiration

We decided to work on this project when during the summer, we were looking at some common board/card games that we could play online and noticed that there hadn't been a discord bot created for playing monopoly deal, an abridged version of monopoly. Since we couldn't play the actual version in real life due to the pandemic, we were dismayed that we couldn't play online, so we decided to code up an automated bot that hosts a game of monopoly deal through discord.

What it does

This discord bot is able to host a game of monopoly deal through means of a discord server, and direct messages with players. Players are able to interact with the bot through the use of certain commands, such as "/draw" to draw a card, or "/play" to play a card. We also had this bot perform other basic functions other than the game, like provide a rulebook for the game, clear messages in the server, and calculate ping for each player.

How I built it

This bot was built by using the discord API, which allowed us to develop an automated system for playing games through means of reacting through posts and typing. We created a system where you could play specific action cards, or draw new cards through the use of commands.

Challenges I ran into

Learning the discord.py api, took us a while to learn, particularly the usage of cogs within discord's system. We also had some trouble communicating with a partner connected through a VPN in China, due to a consistently unstable internet connection

Accomplishments that I'm proud of

We are proud that we were able to learn the discord api, and we used some of the free time we had afterward to show off our discord bot to our friends, and implement the bot in our own discord servers.

What I learned

Most importantly, we learned collaboration through vscode live, and basic Github usage. We also learned a lot about using the discord api, how it uses decorators, and how the discord library communicates with a discord server to call on certain events.

What's next for Discord Bot for Monopoly Go

Although we only have it for two players right now, it shouldn't be too hard for us to implement a multiplayer version, off of the framework that we created here. We also would like to add more action cards, and property cardfs in the future.

Built With

Share this project:

Updates