DEV Community

Discussion on: What was your win this week?

Collapse
 
jckuhl profile image
Jonathan Kuhl

Wrote a dirty little Battleship console game program in Java. I wrote it for a course on EdX, so I stayed within the confines of what had been taught so far and produced a garbage procedural-programming style game.

Disliked it, so I rewrote it in a more Java-esque OOP way. A few more lines of code, some added complexity, but I think it's better organized and easier to maintain.

Old:
github.com/jckuhl/Battleship

New, more OOP focused:
github.com/jckuhl/Battleship2