Skip to content
Proyectos

zoltantothcom/Design-Patterns-JavaScript

Ver en GitHub

Acerca de

Un juego para poner a prueba tu familiaridad con los patrones de diseño de la «Gang of Four» implementados en JavaScript.

Aprendizaje y educación

Cómo se miden estas cifras

Crecimiento de estrellas medido

in 24h
0
in 7 days
-1
in 15 days
-3
in 1 month
Recopilando historial

Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.

README.md

Original

Design Patterns Game

Build Status Coverage Status Codacy Badge Greenkeeper badge

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

:zap: PLAY HERE

Design Patterns - game results screenshot

About

This is a small game to get you familiar with all the 23 Gang of Four design patterns implemented in JavaScript.

Creational Patterns

  • Abstract factory
  • Builder
  • Factory method
  • Prototype
  • Singleton

Structural Patterns

  • Adapter
  • Bridge
  • Composite
  • Decorator
  • Facade
  • Flyweight
  • Proxy

Behavioral Patterns

  • Chain of responsibility
  • Command
  • Interpreter
  • Iterator
  • Mediator
  • Memento
  • Observer
  • State
  • Strategy
  • Template
  • Visitor

How To Run Locally

  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

Running the Tests

  • To run the tests
yarn test
  • To see the detailed test coverage
yarn test:coverage

Inspiration and Credits

If you want a deeper dive into the subject feel free to check out Learning JavaScript Design Patterns by Addy Osmani.

License

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.

Explorar proyectos relacionados

Cargando…