Welcome to my Advent of Code 2025 repository!
Built with TypeScript and grounded in functional programming, immutability and most importantly...
This project uses Bun, a fast JavaScript runtime ideal for bruting forcing Advent of Code puzzles. π
- Tail Call Optimization (TCO): Enables deep recursion without stack overflow.
- High Performance: Optimized JIT for complex Advent of Code computations.
- Built-In Test Runner: Allows easy test setup and validation of solutions.
- Native TypeScript Support: Type-safe coding without extra compilation.
For more, visit Bun's website.
-
Clone the Repository:
git clone [email protected]:andrewbrennanfr/advent-of-brute-force-2025.git cd advent-of-brute-force-2025
-
Install Dependencies:
bun install
-
Set Up Git Hooks (using Husky):
bun husky
bun checkβ Type-check all TypeScript files.bun formatβ Format the entire codebase using Prettier.bun fork N1 N2β Create a new puzzle directoryN2, copying it fromN1(restart your solution while leaving your brute force run ongoing π§ ).bun new N1β Create a new puzzle directoryN1, copying it from00.bun startβ Run all tests in watch mode.bun start N1β Run tests in directoryN1in watch mode.bun testβ Run all tests once.bun test N1β Run tests in directoryN1once.
Puzzle input files are excluded from version control per Advent of Code's guidelines.
Licensed under the MIT License.
π Happy solving!
