Inspiration
We wanted a more communal and social way to share and test code solutions among friends. We felt sites such as leetcode don’t have the intimate experience of comparing solutions with a friend.
What it does
It takes your code and a specified language as input, runs it in Google Cloud, and sends back any output and error messages. It also measures the time the program takes to run.
How we built it
Splitting up into teams, one team built the initial Discord bot and the other implemented a way to run the code and return output. Then we incrementally and iteratively added our desired features.
Challenges we ran into
We initially wanted to run the backend on AWS, but its read-only capabilities prevented us from being able to run code there. We also ran into some issues with Google App Engine because we needed local file access and it did not have that. We switched over to Google Compute Engine and everything is working great now!
Accomplishments that we're proud of
We’re proud that we support using multiple languages, reporting errors, and deploying on Google Cloud. On Google App Engine we ran into issues with not being able to handle recursion but now that we are using Google Compute Engine recursion is no problem for us!
We are also happy with how many edge cases we covered like infinite loops, larger outputs, and empty string outputs.
What we learned
We learned more about how to develop software as a team, and also how to manage a larger project, in terms of modular design and task delegation. Through working with both AWS and Google Cloud, we also gained valuable experience in cloud computing.
What's next for WALRIsBot
MORE LANGUAGES, slack integration, displaying code challenges, with user submissions We would like to add support for more languages as well as create a similar bot for Slack and keep track of space efficiency. Additionally, in the future, we may want to store problems created by users into a central hub which is open to the public.
Come check it out on our discord channel https://discord.gg/AA2ppGD
Built With
- discord.py
- google-cloud
- java
- python

Log in or sign up for Devpost to join the conversation.