Inspiration
We wanted to make a discord bot for any future projects we wanted to make, so we decided to start it in this hackathon. The rubix cube idea was just something that we thought of that we thought would be cool to add and not too challenging to implement the basics of.
What it does
It draws a front view and a back view of a rubix cube that the user can manipulate through text commands
How we built it
We used a standard drawing library from Princeton University and drew out two isometric views of the cube. Then we used JDA (Java Discord API) to create the bot and have it "listen" to certain text commands to rotate the cube and display the image
Challenges we ran into
Using JDA was somewhat challenging as none of us have used it before and the JDA documentation weren't very specific about certain things.
Accomplishments that we're proud of
We created a discord bot that is functional and all the cube turning logic is correct as well
What we learned
Using two isometric views to represent a rubix cube isn't really the best idea especially if someone plans to solve it
What's next for rubikCubeBot
Most likely, it'll be changed to a more general bot with more general usage.
Built With
- java
- jda
- stddraw
Log in or sign up for Devpost to join the conversation.