Skip to content

arnaud-zg/advent-of-code

Repository files navigation

🎄 Advent of Code

This project contains solutions for Advent of Code 2025 challenges.

👤 Performed by: Arnaud Zheng

Tech Stack:

Node.js Bun TypeScript

Advent of Code 2025 Progress

🔗 Related Links

🧩 Generating a Puzzle Day

Quickly scaffold a new Advent of Code puzzle day:

bun run puzzle:generate

This command will:

  1. Prompt you for the year, day number, and puzzle name.
  2. Generate a folder structure under:
apps/<year>/day-<day>/
  ├─ puzzle.ts        # Puzzle solution template
  ├─ puzzle.test.ts   # Test template
  ├─ package.json     # Minimal package for the day
  ├─ sample.txt       # Sample input
  └─ input.txt        # Puzzle input
  1. Run bun install in the root folder to ensure dependencies are up to date.
  2. Display next steps, including:
  • Updating input.txt and sample.txt.
  • Renaming methods in puzzle.ts to something more descriptive.
  • Running tests in watch mode

🧪 Running Tests

To run unit tests for Day 1 in watch mode:

bun test apps/2025/day-01 --watch

Tests will automatically rerun on file changes.

⚡ Updating Badge & Performance Table

Once you have completed a puzzle day, update your progress badge and performance table:

bun run puzzle:snapshot

This will regenerate the badge data to reflect your latest progress and performance.

📜 License

This project is licensed under the MIT License.

About

On this repository you can find my solutions to Advent of Code

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published