Inspiration
My inspiration of the game, came from the time when we were thinking about an idea after the opening ceremony then I saw that the drinks were getting arranged, for the hackathon, which made us think how much we depend on drinks to do long study sessions or assignments, and then me along with my teammates were discussing which drink is the best, where I liked red bull, my friend rupeeka loved coffee, so that's point we thought why don't we have a battle of drinks as our game, when we got the main concept, we started working on how we plan this.
What it does
So, our game is called sip battle, where the player plays a battle with the computer, on a 8x10 board, So the player and computer both have 5 drinks which are BlueBull, MoonBucks Coffee, Latorade, Phd.Pepper, Kelvin. All the drinks can move in any direction (vertical, horizontal, diagonal), up to two step range each. Each drink has a specific way to eliminate the opponent with its own attacking features. The active Battle Arena will have a 1v1 battle after the elimination of one is done a new drink comes in to take revenge. This will happen until one side has lost all of its drinks in the battle arena making the other side victorious.
How we built it
Since all of our commonly known and teams favorable language was Java, we used Java for our project. We first started by creating an outline of our ideas before coding it. Rupeeka drew the UI interfaces and was learning how to implement UI interface and how to use buttons in java while I had started drafting a set of rules for how the games was to be played the battle arena, drink descprition etc. Once this was done all three of us started working on different classes of the java project which we then all combined to one system to run the final output. As expected when errors showed up, we researched and collectively learnt and fixed it as a group and kept going on. When we finished the game and when it was playable we came across logic error we fixed during our individual testing time and built finally was able to built Sip Battle as a team.
Challenges we ran into
The most challenging part for us was to do the user interface design because among the 3 of us in our group, we all were not that familiar with UI design. So we had to go to Canva, search designs, find the best fit, edit the picture, etc. After that, integrating the design with code was also challenging. We were not able to get the proper design as we wanted. It was something that took most of our time to finalize our code. We also wanted to add detailing to our user interface. We couldn't fully do that because of our lack of experience, but we tried our best to get all our code together.
Accomplishments that we're proud of
As a college freshmen, we were not experienced, in making any apps or anything expect some small console based games or projects. When we started working on this game we had no idea, how we were going to put this all together, we were confident that we could write the code, for it, we were not sure how we will get all the small parts together, how we would design the user interface, but then at the end of the day, I and ocean could write all the code for the game, even though our code was a bit sloppy at times, then Rupeeka after watching many YouTube tutorials, how to make user interface, could put together a UI design, even though it was not perfect we are proud of it, as this was first game project, and we came from having no idea to actually building it.
What we learned
Firstly, we learned about how valuable time is, because we have never been at hackathon before. It was all three of ours's first hackathon, and that too was 24 hours long. We leant how to manage time under pressure, and how to make a code effective and efficient in short period of time. Besides, we also learnt team-work because with proper coordination among team mates it was really easy for us to do the whole project. We also learned how to deal with unexpected problems and bugs because things didn't go as we planned many times. Finally, we also learnt concepts of UI design, which all three of us were not familiar of, but ended up learning it together from the scratch.
What's next for Sip Battle
Our future for sip battle, is developing further, right now the game is basic , with basic mechanics and User interface, in upcoming months we plan to structure the game more precisely, making the UI design better, right now we have no sounds to the game, so in cuter we want to embed sounds in it.
Built With
- java
- javaswing
- jframe
- jpanel
- ui
Log in or sign up for Devpost to join the conversation.