Skip to content

[FEA] Write a factory design pattern to build Player and Enemy classes #4

@Dirack

Description

@Dirack

🎉 Feature request

Is your feature request related to a problem? Please describe.

Enemy and Player Classes can be build using a factory design pattern. The class diagram above:

PongPlayerInterface

Describe the solution you'd like

Use a PlayersFactory class to return Players or Enemy objects accordingly to a passed parameter in a create factory method .

Additional context

Use example of this tutorial

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions