Giter Club home page Giter Club logo

adventofcode's Introduction

Advent of Code 2023

My solutions to the exercises at https://adventofcode.com/2023, completed in Python.

Notes

Setup

First grab your session cookie from your browser and save it to a .cookie file in the top-level directory. This will allow you to grab your associated input directly, as well as submit your solution via the terminal. Afterwards, setup your AoC virtual environment by running the following:

poetry install

The code base for a given day can be initialized (which will also grab your specific input) by running:

poetry run init_day <day>

If you want to test your code against the test cases (you will have to copy and paste the examples into the test_*.txt file):

poetry run submit <day> -p <part> -t

To run the code for any particular day without submitting your solution:

poetry run submit <day> -p <part> -n

If you also wish to automatically submit your solution (assuming you have saved the session cookie), you can run:

poetry run submit <day> -p <part>

Note: For each of the previous 3 commands, part is a choice between 1 or 2 to indicate the part of the puzzle being tested / run.

Progress

Day Name Progress
01 Trebuchet?
02 Cube Conundrum
03 Gear Ratios
04 Scratchcards
05 If You Give A Seed A Fertilizer
06 Wait For It
07 Camel Cards
08 Haunted Wasteland
09 Mirage Maintenance
10 Pipe Maze
11 Cosmic Expansion
12 Hot Springs
13 Point of Incidence
14 Parabolic Reflector Dish
15 Lens Library
16 The Floor Will Be Lava
17 Clumsy Crucible
18 Lavaduct Lagoon
19 Aplenty
20 Pulse Propagation
21 Step Counter
22 Sand Slabs
23 A Long Walk
24 Never Tell Me The Odds
25 Snowverload

adventofcode's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.