Skip to content

Latest commit

 

History

History
6 lines (4 loc) · 310 Bytes

File metadata and controls

6 lines (4 loc) · 310 Bytes

Java-Game---using-observer-singleton-design-pattern

A Java game developed using observer and singleton design

So Moderator-player relation is implemented using observer pattern.

We use a shared data between players aswell as moderator. For this we create a singleton class and uses the only instance of it