Click to demo our discord bot
Or watch our demo video https://youtu.be/bt_VKXl6EnQ
Inspiration
Video games are the focus of our careers — we spend countless hours of free time running the Creation of Games Society club to create games with, and teach game development to, the Rutgers community. And in light of the pandemic, we recognized the importance of virtually spending time with our friends when we can't do so in person. So we decided to take the 24 hours of time to create a Discord bot that is all about making online multiplayer fun accessible to any Discord server.
Our features
Through discord, our bot Player2 will allow members of the same server to use the bot to play games with each other, aim for their high scores, and use general utility to facilitate playing games.
Sokoban Game
We recreated a game called Sokoban, this game is one of our fan-favorite games. A simple, game about pushing blocks to their goal with the lowest amount of moves. It brings simplistic mechanics and controls together to make a pretty fun experience.
Lobby up with friends!
We added a lobby system for people to group up with each other to do or play anything they would want! You can create a lobby, and have people join it. Simple and effective to find squadmates for your favorite game.
Rock paper scissors
A quick fun game of rock paper scissors. One of the easiest ways to decide on something.
How we built it
Discord bot created through the usage of nodejs and discordjs. Discord JS API allows ease of communication with discord's web requests system for interactions. All functionality takes advantage of new discord features, such as buttons and slash commands.
Additionally, we are temporarily hosting the bot on a Linode server.
Challenges we ran into
Our plan from the beginning was to create this discord bot, but we ran into problems with creating one. We already have previous experience creating bots for discord, with one being for our organization server, but there recently was a new update for discord. This update broke and deprecated a lot of major structures. So with these changes, we had to adapt and rethink how we create bots for discord.
Accomplishments that we're proud of
Aside from overcoming the update from discord v12 to v13, our major accomplishment was being able to create a game in discord, and having it function as well as it would outside of a chat-based application.
What we learned
After examining how exactly the changes to discord, would affect how we would code. We have learned a lot from it. One main thing we learned from this exercise was the new features that discord has implemented with the update, and how we could use them to make our bot the best it can be.
Log in or sign up for Devpost to join the conversation.