bjorng

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

Showing Posts 1 to 10

aaronnamba

aaronnamba

A+++++++ would solve again!!1

I used a few simple IO.ANSI calls to display every screen change. Very entertaining!

Day 13 Part 2

xfix

xfix

The ball can become invisible. How strange… At the very least, it happens with my input.

ihabunek

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

ihabunek

I made a video of the game being played:
https://asciinema.org/a/iCFURolasxTLhQsXCYll9rmKk

jenarvaezg

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

sasajuric

Author of Elixir In Action

Here’s my take.

NobbZ

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

mexicat

My solution. Today was fun!

mortalisk

mortalisk

My solution

For part2 I made a printout as its running. Disable this to run faster :slight_smile:
Here is a screenshot:

ferd

ferd

Author of Property-Based Testing with PropEr, LYSE, & Erlang in Anger

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!

Where Next? Top

Trending in Challenges Top

Other Trending Topics Top

mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
marciok
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
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Dmk
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
Damirados
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
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews