Question: Task 1 , pick a pattern: Strategy Pattern: You can switch all of the commands the player can obey ( up , left, down, right,

Task 1, pick a pattern:
Strategy Pattern: You can switch all of the commands the player can obey (up, left, down, right, jump, attack) into this pattern. You can also add powerups to the game.
Decorator Pattern: Powerups could possible use this also.
Observer Pattern: You can use this pattern to have the enemies aim at, or chase the player.
Factory Pattern: Add the ability to shoot to the game or randomly appearing enemies.
Task 2, pick some functionality to add:
Add health meter and take damage when you run into an enemy.
Enemies fight back: they chase the player and can damage or kill him
Other enemies. There are other types of enemies normally on this level. Add at least two different ones with differening functionality.
Second level. When the player reaches end of the map, a second section is available to them with different block enemies.
Be imaginative. Send me your ideas and I'll let you know if they are sufficient.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!