Skip to content

MatsAnd/AdventOfCode

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

We want to learn Functional Programming, for this we try to solve challenges of the Advent of Code 2019 in that way.

Participe

Create a PR with your player file inside each challenge, FE: ./1/player.john.js.

Inside the js file place the part you're doing of the challenge and the function.

const part1 = input => {
  /* Day X - Part 1 statements here */
};
const part2 = input => {
  /* Day X - Part 2 statements here */
};

module.exports = { part1, part2 };

The input is generated in the data.js, check it to ensure you parse the correct data-type.

Execute the challenge with the day number and compare the results.

node index.js 'challengeDayNumber'

Join to our Leaderboard

Go to the Private Leaderboards and use the token 615803-2f4bdd84.

Help

If you want to help, create a PR with improved versions of our codes, we want to learn! :)

About

https://adventofcode.com/2019 in JS with functional programming

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%