Skip to content

andrewbrennanfr/advent-of-brute-force-2025

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸŽ„ Advent of Brute Force Code 2025 πŸŽ„

Welcome to my Advent of Code 2025 repository!

Built with TypeScript and grounded in functional programming, immutability and most importantly...


⚑ Why Bun?

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.


πŸ“¦ Getting Started

  1. Clone the Repository:

    git clone [email protected]:andrewbrennanfr/advent-of-brute-force-2025.git
    cd advent-of-brute-force-2025
  2. Install Dependencies:

    bun install
  3. Set Up Git Hooks (using Husky):

    bun husky

πŸš€ Key Scripts

  • bun check β€” Type-check all TypeScript files.
  • bun format β€” Format the entire codebase using Prettier.
  • bun fork N1 N2 β€” Create a new puzzle directory N2, copying it from N1 (restart your solution while leaving your brute force run ongoing 🧠).
  • bun new N1 β€” Create a new puzzle directory N1, copying it from 00.
  • bun start β€” Run all tests in watch mode.
  • bun start N1 β€” Run tests in directory N1 in watch mode.
  • bun test β€” Run all tests once.
  • bun test N1 β€” Run tests in directory N1 once.

πŸ“ Puzzle Inputs

Puzzle input files are excluded from version control per Advent of Code's guidelines.


πŸ“œ License

Licensed under the MIT License.


πŸŽ… Happy solving!

About

πŸŽ„ My TypeScript repository for Advent of Code 2025!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published