GithubHelp home page GithubHelp logo

advent2016's Introduction

Kansas City PHP User Group - Advent of Code 2016

Advent of Code is a holiday-themed coding challenge where a new coding problem is posted daily. Solve the problem with any technique or language you want.

The KC PHP User Group attempted Day 1 and Day 2 as a group. The solution was written in PHP and uses PHPUnit for tests.

See instructions directory for each day's instructions and input. Sign up on http://adventofcode.com to continue working the problems.

Installation

  1. This project manages its dependencies with Composer. Start by installing Composer following instructions here: https://getcomposer.org/download/

  2. Install dependencies

     php composer.phar install
    

Running puzzle solvers

    php day1-1.php
    php day1-2.php
    php day2-1.php

Running tests

To run the PHPUnit test suite:

  1. Optionally copy and configure phpunit.xml.dist for your project's environment:

     cp phpunit.xml.dist phpunit.xml
     vi phpunit.xml
    
  2. Run the test suite:

     ./vendor/bin/phpunit
    
  3. Run test suite for individual days:

     vendor/bin/phpunit --filter=Day1
    

advent2016's People

Contributors

johnkary avatar

Watchers

 avatar Daniel Holmes avatar James Cloos avatar Eric Poe avatar

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.