This repo contains my Advent of Code scripts that are written in GDScript. These scripts are meant to be executed individually (with a headless editor). They also automatically fetch the input string, though they require a cookie to do so, which is supplied via environment variables.
If you want to use these scripts to get free stars in AoC for some reason, you're free to do so. But first, please consider the following:
Click to reveal
You cheated not only the game, but yourself. You didn't grow. You didn't improve. You took a shortcut and gained nothing. You experienced a hollow victory. Nothing was risked and nothing was gained. It's sad that you don't know the difference.
To run any of these scripts, use the following command
AOC_COOKIE=<COOKIE> godot --headless -s <SCRIPT>
Replace <COOKIE>
with your cookie and <SCRIPT>
with the script you want to run.
godot
should point to your installation of Godot, so for example if you're using Godot Mono, you might need to replace godot
with godot-mono
.