├── .gitignore ├── AbstractFactory ├── LinkPage.html ├── Main.py └── factory │ ├── __init__.py │ ├── factory.py │ ├── listfactory │ ├── __init__.py │ └── list_factory.py │ └── tablefactory │ ├── __init__.py │ └── table_factory.py ├── Adapter ├── Adapter_1_Inheritance │ ├── Main.py │ └── adapter │ │ ├── __init__.py │ │ ├── banner.py │ │ ├── print.py │ │ └── print_banner.py └── Adapter_2_delegation │ ├── Main.py │ └── adapter │ ├── __init__.py │ ├── banner.py │ ├── print.py │ └── print_banner.py ├── Bridge ├── Main.py ├── bridge │ ├── __init__.py │ ├── function │ │ ├── __init__.py │ │ ├── display_count_func.py │ │ ├── display_func.py │ │ └── display_random_func.py │ └── implement │ │ ├── __init__.py │ │ ├── display_impl.py │ │ ├── display_string_impl.py │ │ └── display_textfile_impl.py └── test.txt ├── Builder ├── Greeting.html ├── Main.py └── builder │ ├── __init__.py │ ├── builder.py │ ├── director.py │ ├── htmlbuilder │ ├── __init__.py │ └── html_builder.py │ └── textbuilder │ ├── __init__.py │ └── text_builder.py ├── Chain_of_Responsibility ├── Main.py ├── support.py └── trouble.py ├── Command ├── Main.py └── command │ └── command.py ├── Composite ├── Main.py └── entry.py ├── Decorator ├── step1 │ ├── Main.py │ └── decorator │ │ ├── __init__.py │ │ ├── border.py │ │ └── display.py ├── step2 │ ├── Main.py │ └── decorator │ │ ├── __init__.py │ │ ├── border.py │ │ └── display.py └── step3 │ ├── Main.py │ └── decorator │ ├── __init__.py │ ├── border.py │ └── display.py ├── Facade ├── Main.py ├── maildata.ini ├── pagemaker │ ├── __init__.py │ ├── database.py │ ├── html_writer.py │ └── page_maker.py ├── welcome1.html └── welcome2.html ├── FactoryMethod ├── Main.py └── framework │ ├── __init__.py │ ├── factory.py │ └── idcardfactory │ ├── __init__.py │ └── id_card_factory.py ├── Flyweight ├── Main.py ├── big0.txt ├── big1.txt ├── big2.txt ├── big3.txt ├── big4.txt ├── big5.txt ├── big6.txt ├── big7.txt ├── big8.txt ├── big9.txt └── flyweight │ ├── __init__.py │ └── big_char_factory.py ├── Iterator ├── step1 │ ├── Main.py │ └── iterator │ │ ├── __init__.py │ │ ├── aggregate.py │ │ ├── book.py │ │ └── iterator.py └── step2 │ ├── Main.py │ └── iterator │ ├── __init__.py │ └── book.py ├── Mediator ├── Main.py └── mediator │ ├── __init__.py │ ├── colleague.py │ └── mediator.py ├── Memento ├── Main.py └── memento │ ├── __init__.py │ ├── gamer.py │ └── memento.py ├── Observer ├── Main.py └── observer │ ├── __init__.py │ ├── generator.py │ └── observer.py ├── Prototype ├── Main.py └── framework │ ├── __init__.py │ ├── decoprototype │ ├── __init__.py │ ├── message_box_prototype.py │ └── underline_pen_prototype.py │ ├── manager.py │ └── prototype.py ├── Proxy ├── Main.py └── proxy │ ├── __init__.py │ └── printer_proxy.py ├── README.md ├── Singleton ├── step1 │ └── Main.py └── step2 │ └── Main.py ├── State ├── Main.py └── state │ ├── __init__.py │ ├── context.py │ └── state.py ├── Strategy ├── Main.py └── strategy │ ├── __init__.py │ ├── hand.py │ ├── player.py │ └── strategy.py ├── TemplateMethod ├── Main.py └── templatemethod │ ├── __init__.py │ └── display.py └── Visitor ├── Main.py └── visitor ├── __init__.py ├── element.py └── visitor.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/.gitignore -------------------------------------------------------------------------------- /AbstractFactory/LinkPage.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/AbstractFactory/LinkPage.html -------------------------------------------------------------------------------- /AbstractFactory/Main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/AbstractFactory/Main.py -------------------------------------------------------------------------------- /AbstractFactory/factory/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/AbstractFactory/factory/__init__.py -------------------------------------------------------------------------------- /AbstractFactory/factory/factory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/AbstractFactory/factory/factory.py -------------------------------------------------------------------------------- /AbstractFactory/factory/listfactory/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /AbstractFactory/factory/listfactory/list_factory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/AbstractFactory/factory/listfactory/list_factory.py -------------------------------------------------------------------------------- /AbstractFactory/factory/tablefactory/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /AbstractFactory/factory/tablefactory/table_factory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/AbstractFactory/factory/tablefactory/table_factory.py -------------------------------------------------------------------------------- /Adapter/Adapter_1_Inheritance/Main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Adapter/Adapter_1_Inheritance/Main.py -------------------------------------------------------------------------------- /Adapter/Adapter_1_Inheritance/adapter/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Adapter/Adapter_1_Inheritance/adapter/banner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Adapter/Adapter_1_Inheritance/adapter/banner.py -------------------------------------------------------------------------------- /Adapter/Adapter_1_Inheritance/adapter/print.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Adapter/Adapter_1_Inheritance/adapter/print.py -------------------------------------------------------------------------------- /Adapter/Adapter_1_Inheritance/adapter/print_banner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Adapter/Adapter_1_Inheritance/adapter/print_banner.py -------------------------------------------------------------------------------- /Adapter/Adapter_2_delegation/Main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Adapter/Adapter_2_delegation/Main.py -------------------------------------------------------------------------------- /Adapter/Adapter_2_delegation/adapter/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Adapter/Adapter_2_delegation/adapter/banner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Adapter/Adapter_2_delegation/adapter/banner.py -------------------------------------------------------------------------------- /Adapter/Adapter_2_delegation/adapter/print.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Adapter/Adapter_2_delegation/adapter/print.py -------------------------------------------------------------------------------- /Adapter/Adapter_2_delegation/adapter/print_banner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Adapter/Adapter_2_delegation/adapter/print_banner.py -------------------------------------------------------------------------------- /Bridge/Main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Bridge/Main.py -------------------------------------------------------------------------------- /Bridge/bridge/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Bridge/bridge/function/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Bridge/bridge/function/display_count_func.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Bridge/bridge/function/display_count_func.py -------------------------------------------------------------------------------- /Bridge/bridge/function/display_func.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Bridge/bridge/function/display_func.py -------------------------------------------------------------------------------- /Bridge/bridge/function/display_random_func.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Bridge/bridge/function/display_random_func.py -------------------------------------------------------------------------------- /Bridge/bridge/implement/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Bridge/bridge/implement/display_impl.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Bridge/bridge/implement/display_impl.py -------------------------------------------------------------------------------- /Bridge/bridge/implement/display_string_impl.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Bridge/bridge/implement/display_string_impl.py -------------------------------------------------------------------------------- /Bridge/bridge/implement/display_textfile_impl.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Bridge/bridge/implement/display_textfile_impl.py -------------------------------------------------------------------------------- /Bridge/test.txt: -------------------------------------------------------------------------------- 1 | aaa 2 | bbb 3 | ccc 4 | ddd 5 | eee 6 | fff 7 | ggg -------------------------------------------------------------------------------- /Builder/Greeting.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Builder/Greeting.html -------------------------------------------------------------------------------- /Builder/Main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Builder/Main.py -------------------------------------------------------------------------------- /Builder/builder/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Builder/builder/builder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Builder/builder/builder.py -------------------------------------------------------------------------------- /Builder/builder/director.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Builder/builder/director.py -------------------------------------------------------------------------------- /Builder/builder/htmlbuilder/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Builder/builder/htmlbuilder/html_builder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Builder/builder/htmlbuilder/html_builder.py -------------------------------------------------------------------------------- /Builder/builder/textbuilder/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Builder/builder/textbuilder/text_builder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Builder/builder/textbuilder/text_builder.py -------------------------------------------------------------------------------- /Chain_of_Responsibility/Main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Chain_of_Responsibility/Main.py -------------------------------------------------------------------------------- /Chain_of_Responsibility/support.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Chain_of_Responsibility/support.py -------------------------------------------------------------------------------- /Chain_of_Responsibility/trouble.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Chain_of_Responsibility/trouble.py -------------------------------------------------------------------------------- /Command/Main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Command/Main.py -------------------------------------------------------------------------------- /Command/command/command.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Command/command/command.py -------------------------------------------------------------------------------- /Composite/Main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Composite/Main.py -------------------------------------------------------------------------------- /Composite/entry.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Composite/entry.py -------------------------------------------------------------------------------- /Decorator/step1/Main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Decorator/step1/Main.py -------------------------------------------------------------------------------- /Decorator/step1/decorator/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Decorator/step1/decorator/border.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Decorator/step1/decorator/border.py -------------------------------------------------------------------------------- /Decorator/step1/decorator/display.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Decorator/step1/decorator/display.py -------------------------------------------------------------------------------- /Decorator/step2/Main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Decorator/step2/Main.py -------------------------------------------------------------------------------- /Decorator/step2/decorator/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Decorator/step2/decorator/border.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Decorator/step2/decorator/border.py -------------------------------------------------------------------------------- /Decorator/step2/decorator/display.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Decorator/step2/decorator/display.py -------------------------------------------------------------------------------- /Decorator/step3/Main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Decorator/step3/Main.py -------------------------------------------------------------------------------- /Decorator/step3/decorator/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Decorator/step3/decorator/border.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Decorator/step3/decorator/border.py -------------------------------------------------------------------------------- /Decorator/step3/decorator/display.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Decorator/step3/decorator/display.py -------------------------------------------------------------------------------- /Facade/Main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Facade/Main.py -------------------------------------------------------------------------------- /Facade/maildata.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Facade/maildata.ini -------------------------------------------------------------------------------- /Facade/pagemaker/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Facade/pagemaker/database.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Facade/pagemaker/database.py -------------------------------------------------------------------------------- /Facade/pagemaker/html_writer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Facade/pagemaker/html_writer.py -------------------------------------------------------------------------------- /Facade/pagemaker/page_maker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Facade/pagemaker/page_maker.py -------------------------------------------------------------------------------- /Facade/welcome1.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Facade/welcome1.html -------------------------------------------------------------------------------- /Facade/welcome2.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Facade/welcome2.html -------------------------------------------------------------------------------- /FactoryMethod/Main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/FactoryMethod/Main.py -------------------------------------------------------------------------------- /FactoryMethod/framework/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /FactoryMethod/framework/factory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/FactoryMethod/framework/factory.py -------------------------------------------------------------------------------- /FactoryMethod/framework/idcardfactory/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /FactoryMethod/framework/idcardfactory/id_card_factory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/FactoryMethod/framework/idcardfactory/id_card_factory.py -------------------------------------------------------------------------------- /Flyweight/Main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Flyweight/Main.py -------------------------------------------------------------------------------- /Flyweight/big0.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Flyweight/big0.txt -------------------------------------------------------------------------------- /Flyweight/big1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Flyweight/big1.txt -------------------------------------------------------------------------------- /Flyweight/big2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Flyweight/big2.txt -------------------------------------------------------------------------------- /Flyweight/big3.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Flyweight/big3.txt -------------------------------------------------------------------------------- /Flyweight/big4.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Flyweight/big4.txt -------------------------------------------------------------------------------- /Flyweight/big5.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Flyweight/big5.txt -------------------------------------------------------------------------------- /Flyweight/big6.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Flyweight/big6.txt -------------------------------------------------------------------------------- /Flyweight/big7.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Flyweight/big7.txt -------------------------------------------------------------------------------- /Flyweight/big8.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Flyweight/big8.txt -------------------------------------------------------------------------------- /Flyweight/big9.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Flyweight/big9.txt -------------------------------------------------------------------------------- /Flyweight/flyweight/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Flyweight/flyweight/big_char_factory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Flyweight/flyweight/big_char_factory.py -------------------------------------------------------------------------------- /Iterator/step1/Main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Iterator/step1/Main.py -------------------------------------------------------------------------------- /Iterator/step1/iterator/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Iterator/step1/iterator/aggregate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Iterator/step1/iterator/aggregate.py -------------------------------------------------------------------------------- /Iterator/step1/iterator/book.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Iterator/step1/iterator/book.py -------------------------------------------------------------------------------- /Iterator/step1/iterator/iterator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Iterator/step1/iterator/iterator.py -------------------------------------------------------------------------------- /Iterator/step2/Main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Iterator/step2/Main.py -------------------------------------------------------------------------------- /Iterator/step2/iterator/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Iterator/step2/iterator/book.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Iterator/step2/iterator/book.py -------------------------------------------------------------------------------- /Mediator/Main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Mediator/Main.py -------------------------------------------------------------------------------- /Mediator/mediator/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Mediator/mediator/colleague.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Mediator/mediator/colleague.py -------------------------------------------------------------------------------- /Mediator/mediator/mediator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Mediator/mediator/mediator.py -------------------------------------------------------------------------------- /Memento/Main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Memento/Main.py -------------------------------------------------------------------------------- /Memento/memento/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Memento/memento/gamer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Memento/memento/gamer.py -------------------------------------------------------------------------------- /Memento/memento/memento.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Memento/memento/memento.py -------------------------------------------------------------------------------- /Observer/Main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Observer/Main.py -------------------------------------------------------------------------------- /Observer/observer/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Observer/observer/generator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Observer/observer/generator.py -------------------------------------------------------------------------------- /Observer/observer/observer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Observer/observer/observer.py -------------------------------------------------------------------------------- /Prototype/Main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Prototype/Main.py -------------------------------------------------------------------------------- /Prototype/framework/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Prototype/framework/decoprototype/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Prototype/framework/decoprototype/message_box_prototype.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Prototype/framework/decoprototype/message_box_prototype.py -------------------------------------------------------------------------------- /Prototype/framework/decoprototype/underline_pen_prototype.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Prototype/framework/decoprototype/underline_pen_prototype.py -------------------------------------------------------------------------------- /Prototype/framework/manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Prototype/framework/manager.py -------------------------------------------------------------------------------- /Prototype/framework/prototype.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Prototype/framework/prototype.py -------------------------------------------------------------------------------- /Proxy/Main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Proxy/Main.py -------------------------------------------------------------------------------- /Proxy/proxy/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Proxy/proxy/printer_proxy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Proxy/proxy/printer_proxy.py -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/README.md -------------------------------------------------------------------------------- /Singleton/step1/Main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Singleton/step1/Main.py -------------------------------------------------------------------------------- /Singleton/step2/Main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Singleton/step2/Main.py -------------------------------------------------------------------------------- /State/Main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/State/Main.py -------------------------------------------------------------------------------- /State/state/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /State/state/context.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/State/state/context.py -------------------------------------------------------------------------------- /State/state/state.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/State/state/state.py -------------------------------------------------------------------------------- /Strategy/Main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Strategy/Main.py -------------------------------------------------------------------------------- /Strategy/strategy/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Strategy/strategy/hand.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Strategy/strategy/hand.py -------------------------------------------------------------------------------- /Strategy/strategy/player.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Strategy/strategy/player.py -------------------------------------------------------------------------------- /Strategy/strategy/strategy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Strategy/strategy/strategy.py -------------------------------------------------------------------------------- /TemplateMethod/Main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/TemplateMethod/Main.py -------------------------------------------------------------------------------- /TemplateMethod/templatemethod/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /TemplateMethod/templatemethod/display.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/TemplateMethod/templatemethod/display.py -------------------------------------------------------------------------------- /Visitor/Main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Visitor/Main.py -------------------------------------------------------------------------------- /Visitor/visitor/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Visitor/visitor/element.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Visitor/visitor/element.py -------------------------------------------------------------------------------- /Visitor/visitor/visitor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttsubo/study_of_design_pattern/HEAD/Visitor/visitor/visitor.py --------------------------------------------------------------------------------