feat: add puzzle selection and execution menu

This commit is contained in:
2025-11-28 16:42:55 +01:00
parent 75a2b404b1
commit fcf9820f9a
3 changed files with 98 additions and 11 deletions

View File

@@ -102,6 +102,9 @@ end
local function main()
local stats = loadStats("aoc/res/stats.json")
local selectedDay = math.max(1, math.min(END_DATE.day, today.day))
if not dates.isInDateRange(START_DATE, today, END_DATE) then
selectedDay = 1
end
while true do
term.clear()