ZiBaT => Peter Levinsky => Advanced SWC => Mandatory assignment

Mandatory Assignment

Updated : 2020-09-28


Mandatory Assignment in Advanced Software Construction

Idea:

To define a Library with classes that together form a mini framework for turn based 2D game by using different tools and techniques from the course.
But you should not support any GUI.

To be inspired look at Greenfoot see main page or the API refrences they are working with a world and with actors,
but also GUI (which in this assignment is out of scope).

In this library you are to focused on creating a world with different creatures (of your flavour), which could have different protection (shield, magic etc)
and different attack possibilities (weapon, magic, army etc).

 

Deadlines and Delivery:

You must work individual - but it is allowed to talk and be inspired by each other.

Date 28th september to 12th November

- though possible to do the presentation of the handin already the 9th November

Work with the assignment in the period 28th September to 12th November

Thursdag the 12th September

Demonstration of the framework between 0:30 PM and 3 PM. (But possible already Monday the 9th September between 9:10 AM and 11:45 AM)
Handin URL to GitHub in wiseflow

And make a demo/presentation - see plan for demos

 

Detailed description:
(Changes and precessions may occur during working period)

You must create a Library with classes that together form a mini framework for a turn based 2D game where you have a world, creatures and objects (e.g. obsticles).
You do not need to make any report.

So you are to make a Framework in form of a library to support other people doing Turn-based 2D games.

 

In your solution, you must have following element presents:

 

Some elements

Some functions

Some Design Requirements

 

Some guidelines

I think you should have following classes (develope appropriated interfaces according to SOLID principles)

Consider if hit is the sum of hitpoint in attack objects or only an individual object, a like for defence just the sum of reduceHitPoint
Consider if any state can give general super power or special weakness. (like Mario)
Consider if any AbstractClasses with template method
Consider if all objects and creatures should have an id

 

Some Hints

DCD

 

Try Your Framework

 

 

For more investigation (If you like)