Giter Site home page Giter Site logo

adventofcode2019's Introduction

Advent Of Code 2019

A bunch of samples to help solve the Advent of code 2019 puzzles.

Including a massively over-engineered C# program (Dotnet Core 3 - but probably works with most versions so long as you change the TargetFramework attribute in aoc.csproj) to run each days code.

As it's Dotnet Core it's cross platform so even beardy (other forms of facial hair are available) Linux users can have a go ๐Ÿ˜‰

C# Stuff

Install Dotnet Core

Windows, Linux (including Windows Subsystem for Linux (WSL)), Mac

or (as of 2019-12-02)

Windows

Linux & WSL

(Assuming you have done the one-time registration of the Microsoft key and feed as per the installation instructions above)

$> sudo apt-get install dotnet-sdk-3.1

Mac

  • Dunno. Read the instructions.

Once Dotnet Core is installed

Clone the repo and go to the repository root directory.

To run code for current day (if we're still in December):

$> dotnet run

or, to run code for a specific day(s):

$> dotnet run aoc <day_no> [<day_no> [<day_no>]]

or, for every day so far:

$> dotnet run aoc *      // On Windows only
or
$> dotnet run aoc -*
or
$> dotnet run aoc --all

Go stuff

Warning: "Go" beginner alert.

To run the Go samples (where XX is 01, 02 etc):

$> cd /<repo_root>/dayXX
$> go run ./dayXX.go

LINQPad stuff

*.linq files are LINQPad C# scripts.

adventofcode2019's People

Contributors

shunty-gh avatar

Watchers

James Cloos 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.