issues
search
HQC-Team-Hangman-4
/
Hangman-4
High quality code teamwork project
1
stars
0
forks
source link
Design Patterns
#8
Open
mr-krustev
opened
9 years ago
mr-krustev
commented
9 years ago
Creational patterns
Word Creation – WordsFactory -> add class Database -> read - DONE
ScoreBoard – Singleton + Lazy initialization - DONE
Letters and Players - Prototype DONE
Structural patterns
HangmanEngine – Façade - DONE
Guessed – Decorator pattern - DONE
DataSerialization : IDataSerialization & HangmanDataBase : DataBase -> Bridge pattern - DONE
Behavioral patterns
Observer – Gets from InputProvided, sends to Receiver
GuessWord / Undo(cheat) – Command pattern
Commands – Top/Play/Restart/Guess
Word -> Iterator pattern - DONE
GameState - > StartState -> (act of hanging) -> DeadState/WonState (state pattern)
(if time) implement Memento – save/load game
ConsoleInputProvider, ConsoleRenderer, DataSerialization – Strategy DONE
mr-krustev
commented
9 years ago
Added decorator pattern in the design-pattern branch.
Creational patterns
Structural patterns
Behavioral patterns