zoltantothcom/Design-Patterns-JavaScript

Repository files navigation

Build StatusCoverage StatusCodacy BadgeGreenkeeper badge

Design Patterns - a quick game to test your familiarity with the 'Gang of Four' design patterns implemented in JS.

Design Patterns - game results screenshot

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
  • Singleton
  • Adapter
  • Bridge
  • Composite
  • Decorator
  • Facade
  • Flyweight
  • Proxy
  • Chain of responsibility
  • Command
  • Interpreter
  • Iterator
  • Mediator
  • Memento
  • Observer
  • State
  • Strategy
  • Template
  • Visitor
  1. Clone this repo
git clone [email protected]:zoltantothcom/Design-Patterns-JavaScript.git
  1. Switch to project folder
cd Design-Patterns-JavaScript
  1. Install all the dependencies
yarn
  1. Time to start the engine
yarn start
  1. Voila! The project is running on http://localhost:8080
  • To run the tests
yarn test
  • To see the detailed test coverage
yarn test:coverage

If you want a deeper dive into the subject feel free to check out Learning JavaScript Design Patterns by Addy 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.

See Unlicense for full details.

About

A game to test your familiarity with the ‘Gang of Four’ design patterns implemented in JavaScript.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 8