ECE 2524

Introduction to Unix for Engineers

Old School Battleship Brought to Life

Usage

The Battleship Game was pretty straightforward to use. I cloned it without a problem, cd to the ECE2524-Final-Project directory, then just ran make, and the execution command. It started right up like a charm.

Style

I thought the way it was set up was “easy” to follow, and I use that term loosely (in a good way). You can tell that they put a lot of work into this because the code is complex, which is necessary to make a constantly changing board, keep track of “hits”, and to have up-to-date player information. I could follow it because they separate the different aspects into their own files, which keeps things well organized.

Philosophy

I dont think it was written in traditional-traditional unix style, but it doesnt pop out unnecessary lines to output. It only informs you if you entered a command wrong. If anything, i think that maybe this program follows the rogue style, but not down to every tee. It has to print out the board after every attack in order to mimick the physical board game where the players can see every move as soon as it is made… so I think that is why it is difficult to classify this program into a standard interface pattern.