Skip to content

❄️ My solutions to the 2022 AoC ❄️ The popular christmas coding puzzle. I aim for understandable, optimal solutions.

Notifications You must be signed in to change notification settings

emielsteegh/advent-of-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advent of Code 2022

My solutions to the 2022 advent of code challenges! With a custom AoC module to read input more easily and archive files.

I work on the current challenge in the main folder, then archive it once the challenge is completed so the next challenge can be started!

How to use things

Using this repo to do challenges

  1. Drop challenge input in now.txt.
  2. In now.py, read input with aoc.lines() or aoc.numbers().
  3. Write code to complete the challenge and submit.
  4. Clean up the code a bit.
  5. Archive by running python helpers.py save -d -y. This moves the file and input to their respective resting locations.

Re-running old challenges

Simply run python helper.py old -d -y to execute the appropriate script.



Happy Holidays!

                              ██████████████                                
                           ████            ████                             
                        ███                    ███                          
                      ██                          ██                        
                     ██                            ██                       
                    ██                              ██                      
                   ██        ████       ████         ██                    
                  ██         ████       ████          ██                    
                  ██                                  ██                    
                  ██              ░░░░                ██                    
                  ██      ░░░░░░░░░░░░                ██                    
                  ██                                  ██                    
                   ██       ██              ██       ██                    
                    ██        ██          ██        ██                      
                     ██           ██  ██           ██                      
                      ██                          ██                        
    ▓▓▓▓                ███                    ███                ▓▓▓▓      
      ▓▓                  █████            █████                    ▓▓▓▓    
▓▓▓▓▓▓▓▓                    ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒                      ▓▓      
      ▓▓▓▓                ████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒                  ▓▓▓▓      
        ▓▓▓▓          ████                  ▒▒▒▒████          ▓▓▓▓▓▓        
          ▓▓▓▓▓▓    ████                    ▒▒▒▒  ████        ▓▓            
              ▓▓  ████              ██      ▒▒▒▒    ████  ▓▓▓▓▓▓            

About

❄️ My solutions to the 2022 AoC ❄️ The popular christmas coding puzzle. I aim for understandable, optimal solutions.

Topics

Resources

Stars

Watchers

Forks

Languages