Giter VIP home page Giter VIP logo

advent-of-code-2020's Introduction

Advent of Code 2020

My attempt at the Advent of Code for 2020 using Java

              _                 _            __    _____          _        ___   ___ ___   ___
     /\      | |               | |          / _|  / ____|        | |      |__ \ / _ \__ \ / _ \
    /  \   __| |_   _____ _ __ | |_    ___ | |_  | |     ___   __| | ___     ) | | | | ) | | | |
   / /\ \ / _` \ \ / / _ \ '_ \| __|  / _ \|  _| | |    / _ \ / _` |/ _ \   / /| | | |/ /| | | |
  / ____ \ (_| |\ V /  __/ | | | |_  | (_) | |   | |___| (_) | (_| |  __/  / /_| |_| / /_| |_| |
 /_/    \_\__,_| \_/ \___|_| |_|\__|  \___/|_|    \_____\___/ \__,_|\___| |____|\___/____|\___/

Made with Java GitHub

Getting Started

These instructions will get you a copy of the project up and running on your local machine for testing purposes.

Prerequisites

You will need Java 11 or higher installed and configured on your system PATH.
It's best to use the OpenJDK, Windows users can get binaries from AdoptOpenJDK.

Installing

Clone the repository:
git clone https://github.com/Skerwe/Advent-of-Code-2020.git

  1. In bash/terminal/command line, cd into the project directory:
    cd Advent-of-Code-2020
  2. Compile the application:
    gradlew compileJava
  3. Execute the application by passing in the full name of the main class to run:
    1. To run Day 15: gradlew -PmainClass=za.web.skerwe.adventofcode2020.Day15 run
    2. To run Day 16: gradlew -PmainClass=za.web.skerwe.adventofcode2020.Day16 run

The final output of the challenge is printed to the console or the log file for the specific day under the logs folder.

Running Tests

  1. Compile the tests:
    gradlew compileTestJava
  2. Execute the tests:
    gradlew test

This project was built with

License

The source code is free -- see the LICENSE file for details

advent-of-code-2020's People

Contributors

skerwe avatar

Watchers

 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.