Skip to content

πŸŽ„ Advent of Code written in TypeScript. (2023)

License

Notifications You must be signed in to change notification settings

tommyothen/adventofcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

55 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸŽ„ Advent of Code

Welcome to my repository where I tackle the exciting challenges from Advent of Code using TypeScript, particularly with the Bun runtime. Here, you'll find my journey through these puzzles, focusing on clean and efficient solutions. πŸš€

Advent of Code is an annual set of Christmas-themed programming challenges that can be solved in any programming language you like. I've chosen TypeScript for its familiarity and robust features.

After an initial attempt with Rust in 2022, I've shifted my focus solely to problem-solving rather than language learning. TypeScript, being my comfort zone, allows me to dive deeper into the intricacies of each problem.

Repository Structure πŸ“

  • Each year's challenges are neatly organized in their respective directories under years.
  • Solutions for each day are placed in corresponding folders, e.g., ./years/2023/01/.

Getting Started πŸš€

Prerequisites

Ensure you have Bun installed on your machine as this project uses Bun's runtime.

Running Solutions

Navigate to the repository's root and use the custom CLI to manage and run solutions:

  • Run Solution: bun cli run or bun cli r - Executes the solution for the current day.
  • Create New Solution: bun cli create or bun cli c - Sets up a new solution for the current day.
  • Help: bun cli --help or bun cli -h - Displays the help message.

To run tests, simply use the native bun test command.

Contributing 🀝

Feel free to fork this repository and use it as a starting point for your own Advent of Code challenges. If you have suggestions to improve this repo, please open an issue or submit a pull request.

License πŸ“„

This project is open source and available under the MIT License.


           *
         _/ \_
        \     /
        /_' '_\
         /  -\
        /.*@@ \
       /  ' + -\
      /  -o *'+ \
     /   .*  -@+ \
    *-------------*
       [_______]
        \_____/

Happy Coding! πŸŽ‰

About

πŸŽ„ Advent of Code written in TypeScript. (2023)

Topics

Resources

License

Stars

Watchers

Forks