GithubHelp home page GithubHelp logo

battleshipsmvc's Introduction

BattleShipsMVC

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.

Functional & Non-Functional Requirements

My Design

  • 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

Functional & Non-Functional Requirements Achieved

  • FR1
  • FR2
  • FR3
  • FR4
  • FR5 (with file upload intersecting has not been completed)
  • FR6
  • FR7
  • FR8
  • NFR1
  • NFR2
  • NFR3
  • NFR4

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.