Skip to content

guidoschmidt/advent-of-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CI

Advent Of Code πŸŽ„ zig solutions

  1. Install zig (.zigversion), preferably using zvm
  2. Run zig build run to select a specific day
  3. Run zig build run -- DAY, e.g. zig build run -- 9 to run a specific day

AOC_COOKIE

To obtain the puzzle inputs, you need to set the environment variable ACO_COOKIE to the session cookie value from adventofcode.com:

fish shell:

set -Ux AOC_COOKIE session=XXX...

Powershell:

[System.Environment]::SetEnvironmentVariable("AOC_COOKIE", "session=XXX...")

@TODO

  • Use terminal grahpics protocol via libvaxis
  • Implement common re-usable data structures (e.g. 2D map, graph, etc.) and algorithms (e.g. depth-first search, dijkstra/A* shortest-path like algorithms etc.)

About

πŸŽ„πŸ–€πŸ¦Ž Advent of Code 2023/2024 using zig

Topics

Resources

Stars

Watchers

Forks