bjorng
Erlang Core Team
Note: This topic is to talk about Day 13 of the Advent of Code 2019.
There is a private leaderboard for elixirforum members. You can join it by following this link and entering the following code:
39276-eeb74f9a
Trending in Challenges
Other Trending Topics
I am happy to introduce the very α version of the new programming language compiled to BEAM.
Welcome Cure.
It has literally three kille...
New
Hi there! We created Gust: A task orchestrator inspired by Airflow.
For those who have never heard about Aiflow, it’s a Python-based wor...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve.
They are GUI (Emerge) and State management (S...
New
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #library
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixirconf-us
- #ai
- #blog-post
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #hex
- #security
- #metaprogramming










Showing Posts 1 to 10- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
aaronnamba
A+++++++ would solve again!!1
I used a few simple
IO.ANSIcalls to display every screen change. Very entertaining!Day 13 Part 2
xfix
The ball can become invisible. How strange… At the very least, it happens with my input.
ihabunek
This was fun, and easier than I expected. Here’s the code:
https://git.sr.ht/~ihabunek/aoc2019/tree/master/lib/day13.ex
ihabunek
I made a video of the game being played:
https://asciinema.org/a/iCFURolasxTLhQsXCYll9rmKk
jenarvaezg
The most entertaining day so far → solution
This is also the first day I am using my package, intcode to process the program.
sasajuric
Here’s my take.
NobbZ
Got to my solutions very quickly, though it part 2 tricked me… I just looked at the score when I was asked for input. Though the program tells you the final score without waiting for any input…
mexicat
My solution. Today was fun!
mortalisk
My solution
For part2 I made a printout as its running. Disable this to run faster

Here is a screenshot:
ferd
Today was the best! I ended up implementing the whole game in interactive mode with ncurses support (which I had never used before) and it freaking rules. Then I plugged an “AI” back in it to beat the game while I watch and get the final score.
I actually had a lot of fun with this one. Great job to the intcode computer too!