DESIGN PATTERN
For the game developmenttheyare 3 patterncan used,namely:
Prototype pattern
Singletonpattern
Strategypattern.
The designof the projectis singletondesignpattern. Games are a special areaof software
engineering,butdespiteits special nature,itcanstill applymanyof the lessonsof software engineering.
Singletonpattern liesontopof creational pattern. It restrictinstantiationof aclassto one object
only.Problem :Applicationneedsone,andonlyone,instance of anobject. The mainactivityof our
game is the initializationof the game environmentfollowedbynumberof otherfeaturesinvoke
sequentially(depends). We have keptall the software patternprinciplesinmind.

Design patterns for game development

  • 1.
    DESIGN PATTERN For thegame developmenttheyare 3 patterncan used,namely: Prototype pattern Singletonpattern Strategypattern. The designof the projectis singletondesignpattern. Games are a special areaof software engineering,butdespiteits special nature,itcanstill applymanyof the lessonsof software engineering. Singletonpattern liesontopof creational pattern. It restrictinstantiationof aclassto one object only.Problem :Applicationneedsone,andonlyone,instance of anobject. The mainactivityof our game is the initializationof the game environmentfollowedbynumberof otherfeaturesinvoke sequentially(depends). We have keptall the software patternprinciplesinmind.