/christmas-lights-kata

The Christmas Light Kata written in TypeScript.

Primary LanguageTypeScript

Christmas Light Kata

A solution for the Christmas Light Kata written in TypeScript. This solution includes acceptance tests from the original kata. You can find the original kata on the Advent of Code site (a sixth assignment of the year 2015).

The repository has two branches:

  • master - the branch contains a simple solution (it uses an iteration to apply different methods to lights in the grid).
  • navigator_featured - the branch contains a more complex solution (it uses a Navigator to perform the same operation).

Installing dependencies

# Install dependencies
yarn install

Running tests

# Run tests once
yarn test