- Notifications
You must be signed in to change notification settings - Fork35
A game to test your familiarity with the ‘Gang of Four’ design patterns implemented in JavaScript.
License
zoltantothcom/Design-Patterns-JavaScript
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Design Patterns - a quick game to test your familiarity with the 'Gang of Four' design patterns implemented in JS.
This is a small game to get you familiar with all the 23 Gang of Four design patterns implemented in JavaScript.
- Abstract factory
- Builder
- Factory method
- Prototype
- Singleton
- Adapter
- Bridge
- Composite
- Decorator
- Facade
- Flyweight
- Proxy
- Chain of responsibility
- Command
- Interpreter
- Iterator
- Mediator
- Memento
- Observer
- State
- Strategy
- Template
- Visitor
- Clone this repo
git clone git@github.com:zoltantothcom/Design-Patterns-JavaScript.git
- Switch to project folder
cd Design-Patterns-JavaScript
- Install all the dependencies
yarn
- Time to start the engine
yarn start
- Voila! The project is running onhttp://localhost:8080
- To run the tests
yarn test
- To see the detailed test coverage
yarn test:coverage
Inspired by the very well-knownJavaScript Guessing Game
Code samples impudently taken from the awesome compilation ofDesign Patterns JS
If you want a deeper dive into the subject feel free to check outLearning JavaScript Design Patterns byAddy Osmani.
Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means.
SeeUnlicense for full details.
About
A game to test your familiarity with the ‘Gang of Four’ design patterns implemented in JavaScript.
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors8
Uh oh!
There was an error while loading.Please reload this page.