Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

the solution must be based C# in viruses. Unless you need to edit, it's safer to stay in P ONT4101 Practical 2 Due 14 February

the solution must be based C# image text in transcribed
in viruses. Unless you need to edit, it's safer to stay in P ONT4101 Practical 2 Due 14 February 2020 by 22:55 You have recently learnt of a design pattern called the Strategy Pattern; which allows you to swap the behaviours associated with an object during run-time. You are required to do the following: Create a console application which will simulate different types of movements in a game. The movements available currently are ground movements (walking, crawling, or running), swimming, and flying. In the future, the program should allow more movements to be added without having to alter any of the present movements. In each of the behaviours (movements) in your program, you are required to provide a suitable description to the console window of which movements is currently being executed. As part of your submission provide a word document which provides the following: An argument of why you believe the strategy pattern is suitable for this example. A class diagram suitable for this exercise and show where potentially other behaviours can be added in the future. You can use a generic list to show the different movements to the console during run-time in viruses. Unless you need to edit, it's safer to stay in P ONT4101 Practical 2 Due 14 February 2020 by 22:55 You have recently learnt of a design pattern called the Strategy Pattern; which allows you to swap the behaviours associated with an object during run-time. You are required to do the following: Create a console application which will simulate different types of movements in a game. The movements available currently are ground movements (walking, crawling, or running), swimming, and flying. In the future, the program should allow more movements to be added without having to alter any of the present movements. In each of the behaviours (movements) in your program, you are required to provide a suitable description to the console window of which movements is currently being executed. As part of your submission provide a word document which provides the following: An argument of why you believe the strategy pattern is suitable for this example. A class diagram suitable for this exercise and show where potentially other behaviours can be added in the future. You can use a generic list to show the different movements to the console during run-time

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Microsoft SQL Server 2012 Unleashed

Authors: Ray Rankins, Paul Bertucci

1st Edition

0133408507, 9780133408508

More Books

Students also viewed these Databases questions