Inspiration
We love games and we love coding so we wanted to blend the two together. We have made a friendly game we named Code Tetris where you can challenge a foe and declare ultimate victory against them. Show off your coding skills with Code Tetris!
What it does
Code Tetris is a two player, web browser coding game where you play against another person. Claim your victory by quickly beating the coding challenges and stump you opponent with the abilities at your disposal. Use bugs to quickly stumble your foe by changing semi colons to commas, freeze to stop your opponents progress briefly, or blind to hinder your opponents vision!
How we built it
We build the web using Reactjs, host the server using Nodejs + Heroku. We use the Jdoodle API for compiling the code. We use websocket to do the realtime coding experience.
Challenges we ran into
Too many to name. If it wasn't our front end having web socket issues, it was our back end trying to communicate with the front end via web socket, or NodeJS. Our functions also weren't outputting the correct result when we were passing correct solutions and would crash our server.
Accomplishments that we're proud of
We are happy that we were able to produce Code Tetris in the time frame we had. We learned a new platform (React), and basic JavaScript. We overcame many bugs (and even implemented our own bug feature :P). We had a blast learning from one another creating Code Tetris and now have the Hackathon bug to create more projects and join more in the future.
What we learned
For some of the members in the group it was their first time doing a Hackathon. Learning new programming languages, how to google for the correct resources, and how to work with one another are just a few experiences we gained. We are still in disbelief with the product we were able to create in less than 24 hours and the friendships we made.
What's next for Code Tetris
There are some more features we would like to add to Code Tetris' future which include more problems sets, programming languages, and abilities. We want this game to be something fun for those getting into coding and for advanced coders to show their precision and speed. We also plan to improve our UI and web browser in the future to have a more seamless interaction with our site.
Log in or sign up for Devpost to join the conversation.