Compare commits

...

3 commits

Author SHA1 Message Date
57ddd3cb0a
Added Day 3 gitignore (lazy) 2023-12-04 22:41:05 -07:00
dec467fc19
Added Day 2 sample 2023-12-04 22:40:54 -07:00
2945827788
Added Day 2 README 2023-12-04 22:40:07 -07:00
3 changed files with 27 additions and 0 deletions

12
day2/README.md Normal file
View file

@ -0,0 +1,12 @@
# AOC 2023 Day 2 (Garry's Mod)
This is a set of scripts designed to be used with the StarfallEx addon for Garry's Mod.
### Requirements:
- Garry's Mod
- [Wiremod](https://github.com/wiremod/wire)
- [StarfallEx](https://github.com/thegrb93/StarfallEx)
### Usage:
1. Put your input data in `$GMOD_PATH/garrysmod/data/sf_filedata/aoc2023d2input.txt` (Extension is important!)
2. Spawn chip with the correct script

5
day2/sample Normal file
View file

@ -0,0 +1,5 @@
Game 1: 3 blue, 4 red; 1 red, 2 green, 6 blue; 2 green
Game 2: 1 blue, 2 green; 3 green, 4 blue, 1 red; 1 green, 1 blue
Game 3: 8 green, 6 blue, 20 red; 5 blue, 4 red, 13 green; 5 green, 1 red
Game 4: 1 green, 3 red, 6 blue; 3 green, 6 red; 3 green, 15 blue, 14 red
Game 5: 6 red, 1 blue, 3 green; 2 blue, 1 red, 2 green

10
day3/.gitignore vendored Normal file
View file

@ -0,0 +1,10 @@
*
!.gitignore
!answer*
!*.c
*.mod.c
!sample*
!README.md
!LICENSE.md
!Makefile