Git Product home page Git Product logo

advent_of_code_2018's Introduction

Advent of Code 2018 GitHub repo size in bytes colab link

My Python solution to Advent of Code 2018. Each day is in a separate notebook for easy vizualisation, and the full code is also available in Colaboratory notebook. More information about the challenge here.

Advent of Code is an Advent calendar of small programming puzzles for a variety of skill sets and skill levels that can be solved in any programming language you like. People use them as a speed contest, interview prep, company training, university coursework, practice problems, or to challenge each other

Links to Solutions

Some Visualizations

[Day 3] [Day 6]
Fabric sheet and claimed patches Finite and infinite regions
[Day 22] [Day 20]
Map of the cave and shortest rescue path Mapped maze and distance heatmap
[Day 15] [Day 25]
Excerpt of the game unfolding Constellations
[Day 24]
Playing with emojis
Round 0 - Start
  • [G01 ๐Ÿ˜‡] [17/17 units] 5390 HP - 4507 ๐Ÿ”ฅ DMG - RECEIVE: (โ˜ข: 2, ๐Ÿ’ซ: 1, โ„ 1, ๐Ÿ‘Š: 2, ๐Ÿ”ฅ: 1)
  • [G02 ๐Ÿ˜‡] [989/989 units] 1274 HP - 25 ๐Ÿ’ซ DMG - RECEIVE: (โ˜ข: 1, ๐Ÿ’ซ: 2, โ„ 1, ๐Ÿ‘Š: 2, ๐Ÿ”ฅ: 0)
  • [G01 ๐Ÿ˜ˆ] [801/801 units] 4706 HP - 116 ๐Ÿ‘Š DMG - RECEIVE: (โ˜ข: 2, ๐Ÿ’ซ: 1, โ„ 1, ๐Ÿ‘Š: 1, ๐Ÿ”ฅ: 1)
  • [G02 ๐Ÿ˜ˆ] [4485/4485 units] 2961 HP - 12 ๐Ÿ’ซ DMG - RECEIVE: (โ˜ข: 0, ๐Ÿ’ซ: 1, โ„ 2, ๐Ÿ‘Š: 1, ๐Ÿ”ฅ: 2)

Round 1

  • [G01 ๐Ÿ˜‡] [17/17 units], [G02 ๐Ÿ˜‡] [989/989 units], [G01 ๐Ÿ˜ˆ] [801/801 units], [G02 ๐Ÿ˜ˆ] [4485/4485 units]
  • [G02 ๐Ÿ˜ˆ] โš” (107640 ๐Ÿ’ซ) (-84 units) [G02 ๐Ÿ˜‡], [G02 ๐Ÿ˜‡] โš” (22625 ๐Ÿ’ซ) (-4 units) [G01 ๐Ÿ˜ˆ], [G01 ๐Ÿ˜‡] โš” (153238 ๐Ÿ”ฅ) (-51 units)
  • [G02 ๐Ÿ˜ˆ], [G01 ๐Ÿ˜ˆ] โš” (184904 ๐Ÿ‘Š) (-34 units) [G01 ๐Ÿ˜‡]

Round 2

  • [G02 ๐Ÿ˜‡] [905/989 units], [G01 ๐Ÿ˜ˆ] [797/801 units], [G02 ๐Ÿ˜ˆ] [4434/4485 units]
  • [G02 ๐Ÿ˜‡] โš” (22625 ๐Ÿ’ซ) (-4 units) [G01 ๐Ÿ˜ˆ], [G01 ๐Ÿ˜ˆ] โš” (183976 ๐Ÿ‘Š) (-144 units) [G02 ๐Ÿ˜‡]

Round 3-8

  • ...

Round 8 - End

  • [G01 ๐Ÿ˜ˆ] [782/801 units] 4706 HP - 116 ๐Ÿ‘Š DMG - RECEIVE: (โ˜ข: 2, ๐Ÿ’ซ: 1, โ„ 1, ๐Ÿ‘Š: 1, ๐Ÿ”ฅ: 1)
  • [G02 ๐Ÿ˜ˆ] [4434/4485 units] 2961 HP - 12 ๐Ÿ’ซ DMG - RECEIVE: (โ˜ข: 0, ๐Ÿ’ซ: 1, โ„ 2, ๐Ÿ‘Š: 1, ๐Ÿ”ฅ: 2)

Winning team: Infection (๐Ÿ˜ˆ)
Remaining units: 5216

advent_of_code_2018's People

Contributors

ameroyer avatar

Watchers

 avatar  avatar

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.