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

Mandatory Assignment

Updated : 2020-03-15


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 17th March to 21st April

Work with the assignment in the period 17th March to 21th April

Date 21st April

Demonstration of the libraries in class between 0:30 PM and 3 PM.
Handin URL to GitHub in wiseflow

And make a demo - 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 turn based 2D game where you have a world, creatures and objects (e.g. obsticles).
You do not need to make any report.

 

In your solution, you must have following element presents:

 

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 : see Hints.pdf

 

 

For more investigation (If you like)