Skip to content
This repository has been archived by the owner on May 28, 2023. It is now read-only.
/ aoc-2015 Public archive
forked from ShaneMcC/aoc-2015

PHP Solutions to AdventOfCode 2015

Notifications You must be signed in to change notification settings

Balint90/aoc-2015

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advent of Code 2015

           ,....,
        ,;;:o;;;o;;,
      ,;;o;'''''';;;;,
     ,;:;;        ;;o;,
     ;o;;          ;;;;
     ;;o;          ;;o;
     ';;;,  _  _  ,;;;'
      ';o;;/_\/_\;;o;'
  jgs   ';;\_\/_/;;'
           '//\\'
           //  \\   Advent of Code 2015
          |/    \|  - ShaneMcC

My (Hacky) PHP Solutions for http://adventofcode.com

I may tidy up some of the more interesting ones.

Running

All of the solutions have their input as input.txt and some test input as test.txt, and will accept input from STDIN.

Solutions are run (for example day 1) as ./1/run.php from the root directory.

There is also some command-line flags to alter how the scripts run.

$ ./1/run.php --help
Usage: ./1/run.php [options]

Valid options
  -h, --help               Show this help output
  -t, --test               Enable test mode (default to reading input from test.txt not input.txt)
  -d, --debug              Enable debug mode
      --file <file>        Read input from <file>

Input will be read from STDIN in preference to either <file> or the default files.
$

About

PHP Solutions to AdventOfCode 2015

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%