Giter Club home page Giter Club logo

advent-of-code-2023's Introduction

๐ŸŽ„ Advent-of-Code-2023 ๐ŸŽ„

2023_Trebuchet

My favorite annual coding competition. Will this be the year I finally complete it?

Usage

  • Supply your own puzzle input in data/dayXX.txt and data/sampleXX.txt where XX is the number of the day (with a leading zero if less than 10).
    • I saw on reddit that sharing your own input data is against the rules, so I removed it from this repo.
  • Default usage will use actual challenge data and display all days completed so far.
./solver.py
  • Alternatively, you can specify the smaller sample data sets with --samples and/or limit which day's puzzles are displayed with --days X Y Z
./solver.py --days 5 2 --samples

Misc

  • I'm developing on an Ubuntu 22.04 machine running Python 3.10
  • While I doubt anyone cares to copy my solutions, in the interest of avoiding spoilers, I'm not pushing code for day n until day n+1

TODO

  • Day 5 Part 2 is a disaster. Fix it.

advent-of-code-2023's People

Contributors

milnor avatar

Watchers

 avatar

advent-of-code-2023's Issues

automate timestamps

I want to know how long it takes to solve each puzzle, not just the overall total by calling time ./solver.py.

sample data

start adding in the sample data and appropriate functionality to solver.py so it can switch between samples and actual.

environment management

add at minimum a virtual environment, but research poetry and possibly use that instead; or docker. Research and decide.

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.