Commit graph

13 commits

Author SHA1 Message Date
53c58fa8c0
feat: add solution for 2023, Day 4
All checks were successful
/ test (pull_request) Successful in 27s
- Add the solution and the test suite for the Advent of Code,
  2023 - Day 4: Scratchcards
- style: applied gofmt for formatting
2023-12-04 17:36:05 +00:00
0f1ee8c599
refactor(Day 3): updated Day 3 solution code
- added a custom function to check if a rune is a symbol.
- changed name of type 'answer' to 'solution'.
- ci(forgejo actions): updated setup-go from v3 to v4.
2023-12-04 13:10:03 +00:00
5af35d0ccc
feat: add solution for 2023, Day 3
All checks were successful
/ test (pull_request) Successful in 24s
Add the solution and test suite for AoC 2023, Day 3: Gear Ratios
2023-12-04 01:26:50 +00:00
064b0a5abe
fix: use the constant value for 'blue'
All checks were successful
/ test (pull_request) Successful in 27s
2023-12-03 01:31:50 +00:00
ffe594cb54
ci(github): specify the version of Go to use 2023-12-03 00:26:06 +00:00
cfb64d80aa
ci: add workflows for both Actions
All checks were successful
/ test (pull_request) Successful in 25s
- add a workflow for Forgejo Actions
- add a workflow for GitHub Actions
2023-12-03 00:14:40 +00:00
01118b683b
refactor(test): condense test table 2023-12-02 18:01:53 +00:00
5e2efe6688
fix: read from input once
Refactored the code for the Day 2 solutions so that the input file is
only read once.
2023-12-02 17:46:44 +00:00
b8dba2d4e4
feat: add solution for 2023, Day 2: Cube Conundrum 2023-12-02 17:00:27 +00:00
648ebcab4e
refactor: formatting with gofmt 2023-12-01 17:28:33 +00:00
fcc2ad5666
perf: use trimLength to reduce recursion
Add trimLength to trim all but the last character of the detected
integers in text form. The last character is not trimmed during
recursion because it may be part of the next integer.

This should reduce the amount of recursion needed to complete the
calculation.
2023-12-01 17:21:34 +00:00
7384a04590
docs: updated README 2023-12-01 15:04:58 +00:00
d7a3348bfc
Initial commit 2023-12-01 15:03:51 +00:00