Inspiration

Inspired by the recent obsession with Wordle, and our desire to share our new beverage, Sunset Brick Corona, with the world.

What it does

The user has 4 attempts to guess the secret cocktail, given the list of cocktails we added and their ingredients. Their guess turns yellow if it has at least one ingredient in common with the secret, and it turns green if they guessed the secret. It remains gray if none of the ingredients in their guess matches those of the secret.

How we built it

We used Java to create the model of the game that implements the rules, and a plain text user interface. We used the IntelliJ-IDEA IDE.

Challenges we ran into

Figuring out how to make a GUI out of JavaFX, as we have limited experience, was a challenge. We ended up just using a PTUI as we could not create a presentable GUI in time. It was also challenging to decide on gameplay that is not too difficult for the user and also showcases our product. We ultimately decided to show the user the list of possible cocktails we coded in so they can better strategize their guesses, and see the components of our new beverage, Sunset Brick Corona.

Accomplishments that we're proud of

Getting the backend to work as intended, so the game runs perfectly as a PTUI.

What we learned

How time consuming it is to make a game that even appears simple to the user. Making a GUI requires solid understanding of the model view controller design.

What's next for Cocktaildle

Making a functional GUI and adding more drinks to the list.

Share this project:

Updates

posted an update

Note: The example output image represents the complete PTUI. The video did not have the chart of possible cocktails and ingredients for the user to see yet, and supplied the answer. The final program as seen in the image hides the answer and supplies the chart.

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