I was inspired by my early childhood memories of playing Battleship after school. I was also inspired by the Hackathon theme to make it a Pirate Attack (1 person game) rather than a Battle (2 person game).
What it does
It creates a board of randomly placed ships with lengths ranging from 2-6.
How we built it
Using Java Language on Eclipse, and lots of Google searches
Challenges we ran into
I had never done Java Gui before so it was really hard. Multiple times I felt overwhelmed. I also ran into multiple syntax errors. One such error was that I kept resetting my board every time a ship was added and I couldn't find it for over an hour.
Accomplishments that we're proud of
I made a functioning GUI, that includes a JPanel, JLabel, JFrame and a bunch of buttons on a screen.
What we learned
I learned a lot about
What's next for Pirates Attack!
Changing the design of the GUI even more. I also hope to create a well designed Battleship game for my friends and family some day as a extension of this.
Log in or sign up for Devpost to join the conversation.