Inspiration
One time at my part-time job, I saw a waiter use an app on his iPad to keep track of where customers seat. I thought that this was very cool and I wanted to try and recreate something similar to it.
What it does
This is a program that is run in the console. The users can type input into the console to add/remove tables, start/end services at a table, and get access to a log sheet that keeps track of all the tables that were used today.
Challenges I ran into
One major problem that I encounter was with Scanner and how the Strings weren't matching up. I spent about an hour or two trying to figure out why one string wouldn't equal to another. (e.x. "string" == "string" is false) I finally found out that the problem was that the String input from Scanner wasn't being stored in the same memory address as the String that I was trying to match the input up to, so using == wouldn't work. After some more digging around, I learned that there was a String method called equals() that fixes this problem.
Accomplishments that I'm proud of
I just started learning Java this school year, so I'm very happy that I was able to complete my first major project in Java.
What I learned
From this hackathon, I was able to gain a better understanding of how ArrayList and Scanner work in Java.
What's next for Restaurant Seating Tracker
When I become more proficient at Java, I want to try and add GUI to this project instead of having it be console-based.
Log in or sign up for Devpost to join the conversation.