Giter VIP home page Giter VIP logo

elen3009project's Introduction

Elen3009Project

This game is a remake of the classic arcade game Defender. A layered object- oriented approach has been used to design the game implemented in ANSI/ISO C++ in conjunction with the SFML 2.3.1 graphics library.

The application layers have been separated using a combination of the Model-View-Controller and the Model-View-Presenter design patterns. The ’model’ layer contains the game entities and is modelled using inheritance. The ’view’ renders all of the game objects. The ’controller’ encapsulates all of the core game logic and links the ’model’ and the ’presenter’ layers. The ’presenter’ creates a link between the ’controller’ and the ’view’ layers. Basic game functionality has been achieved with a scoring system, player lives, smart bombs, power-ups and a mini-map with screen-scrolling as extra major and minor features.

Testability of the solution is increased by the use of separation of concerns. Design flaws in the model exist and lead to inappropriate class functionality, as can be seen in the Logic class. Possible functionality improvements could include the addition of Bombers, Humanoids and game levels. The design promotes the maintainability of the framework due to the high level of abstraction throughout the code.

elen3009project's People

Contributors

christian-kam avatar catherine-honegger avatar

Watchers

 avatar  avatar

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.