Giter Club home page Giter Club logo

cisc210fizzbuzz's Introduction

CISC210FizzBuzz

It's fizz-buzz. Well, it's more than just fizz-buzz. It's also chain of responsibility, strategy, and factory method design patterns as well. The master branch is the simple version. issue-1 branch is the chain of responsibility implementation of master. issue-2 branch adds bazz for multiples of 4. issue-3 branch outsources the approval to an ApproveStrategy.

Think of it this way, each command in your chain of responsibility is requested to approve or deny some "thing". In our example, that approval is handled by a strategy that determines if the number is evenly divisible by another. The strategy could be dynamic, but is not in our case. If this were authorization, the strategy could be determined by a role, or even the time of day: "If it is after 5 PM, anyone can do X."

cisc210fizzbuzz's People

Contributors

stekylsha avatar

Watchers

James Cloos avatar  avatar

cisc210fizzbuzz's Issues

As bazzer ...

As a fizzbuzzer I want to perform fizzbazz using chain of responsibility so I can show off my 1337 skills.

Add strategy

As a fizzbazzbuzzer I want to perform fizzbazzbuzz using chain of responsibility and a strategy for the fbb approval so I can show off my 1337 skills.

Add bazz

As a fizzbazzbuzzer I want to add bazz to my fizzbuzz using chain of responsibility so I can show off my 1337 skills.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.