Skip to content

itsnewtjam/aoc-2024

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advent of Code 2024

My solutions for Advent of Code 2024 using TypeScript.

Project Structure

aoc-2024/
├── src/
│   ├── solutions/     # Daily solutions
│   ├── util/          # Helper functions
│   └── index.ts       # Solution runner
├── inputs/            # Puzzle inputs
├── tests/             # Test files
└── scripts/           # Script files

Setup

  1. Install dependencies:
npm install
  1. Create a new solution file:
cp src/solutions/day01.ts src/solutions/day02.ts
  1. Add your puzzle input to inputs/day02.txt

Commands

  • Run today's solution:
npm run solve
  • Run a specific day:
npm run solve 1
  • Run tests:
npm test              # Run all tests
npm run test:day 1    # Run tests for day 1
npm run test:watch 1  # Run tests for day 1 in watch mode

Progress

⭐ Total stars: 45/50

  • Day 1
  • Day 2
  • Day 3
  • Day 4
  • Day 5
  • Day 6
  • Day 7
  • Day 8
  • Day 9
  • Day 10
  • Day 11
  • Day 12
  • Day 13
  • Day 14
  • Day 15
  • Day 16
  • Day 17
  • Day 18
  • Day 19
  • Day 20
  • [/] Day 21
  • Day 22
  • Day 23
  • Day 24
  • Day 25

About

Advent of Code 2024 solutions in Typescript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published