Try Your Hand at Battleship!
I wrote this Java program to play Battleship in the console/terminal my senior year of high school, along with my good friend Matt Loughney. This was one of my first programs ever, and to this day it's one I look back on incredibly fondly. Even though I know now it's not perfect, I'm incredibly proud of it! Hope you enjoy!
How To Play
First, download the code! Once you have the files, compile and run the BattleShipClient.java file. On my machine, I do this in terminal with the command
Then, just run