Coder Social home page Coder Social logo

sashkan / advent-of-code-node-starter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jeanm38/advent-of-code-node-starter

0.0 1.0 0.0 13 KB

This repository provides an optimal starting point for Advent of Code enthusiasts who prefer using Node.js

JavaScript 100.00%

advent-of-code-node-starter's Introduction

๐ŸŽ… advent-of-code-node-starter โญ

This repository provides an optimal starting point for Advent of Code enthusiasts who prefer using Node.js


โœ”๏ธ Before start

  • Make sure you got node.js installed on your machine, if you don't, go to the official website
$ node -v

๐Ÿš€ Launch project

  • Clone the repository
$ # With SSH
$ git clone [email protected]:JeanM38/advent-of-code-node-starter.git my_advent_of_code

$ # With HTTPS
$ git clone https://github.com/JeanM38/advent-of-code-node-starter.git my_advent_of_code
  • Get into your local repository
$ cd my_advent_of_code
  • Link bin commands to allow them
$ npm link
  • Install all dependencies
$ npm install

๐Ÿ› ๏ธ Generate a new day

Each day, a new algorithm to create, a template is here to help you, just run this command to create a new folder and retrieve advent of code data

$ npm exec new-day {YEAR} {DAY}

At this point, you got three files in a new folder (for example 2023/1) :

challenge.js
Insert your algorithm into this method, don't hesitate to create other methods and class properties to resolve the problem and keep your code clean
input.txt
Each challenge comes with its input, the Challenge class of the challenge.js file will read it input inside of this file.
README.md
You can retrieve the challenge instructions here

๐Ÿ“œ This repository respects automation guidelines

This repo/tool does follow the automation guidelines on the /r/adventofcode community wiki

โš ๏ธ Be a good fellow

Please don't push your solutions on GitHub, think about your developers friends

advent-of-code-node-starter's People

Contributors

jeanm38 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.