Git Product home page Git Product logo

aoc-2023's Introduction

Advent of code 2023

We want to participate with https://adventofcode.com/2023/about using if you can TypeScript as we use it in our projects EMX2 and Armadillo.

Typescript

We will use https://deno.com as that is a one shot develop and run tool. So TypeScript saffies don't need the whole plumbing of node, npm, etc.

Download and install

Puzzles

The puzzles appear on https://adventofcode.com/2023 at 6:00 but we will gather together from 10:00-11:00 each day on our slack channel.

A puzzle has test values in the running text and a download containing the real puzzel data.

Each day you have 2 challenges. The second part has new text and tests.

To keep organised make a 2-digit day folder containing code and download.

Preparation

Structure

We make named subtree like <name>/<day>/<day>.ts + <data>.txt.

See the current tree.

Example

See ./example/00/00.ts

Code snippets

for (const [index, value] of data.entries()) { codeblock }

const p1 = (inp:string) => { codeblock }

// build regex option string "1|one|2|two..."
const digitWords = [ 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine'];
const digitAndDigitWord = digitWords.map((v,i) => `${i+1}|${v}`).join('|');

aoc-2023's People

Contributors

clemens-tolboom avatar marikaris avatar sietsmarj avatar ypez avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

marikaris

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.