W3007 - Advanced Object-Orientated Programming
For this coursework, you will produce two versions of the one-player game of Battleships . One version will have a Graphical User Interface (GUI) and the other version will have a command-line interface (CLI). The GUI version will be constructed according to the principles of Model View Controller, and the CLI version will use the same model. The two versions will from now on be called the GUI version and the CLI version.
- 2D Array of integers for the gameboard
- Each type of ship has been given a int constant to identify itself on the board i.e. 5 = Battleship, 4 = Carrier etc
- Each ship type is a sub-class of Ship, Ship holds the hit coordinates within an array lists and carries out various checks
- Win condition is checked if all the ships have been sunk via the sunk indicator
- Various jUnit tests have been completed; ship has been hit, miss and ships are placed on the 2D board
- FR1
- FR2
- FR3
- FR4
- FR5 (with file upload intersecting has not been completed)
- FR6
- FR7
- FR8
- NFR1
- NFR2
- NFR3
- NFR4