Compare commits
3 commits
466ab67dd1
...
57ddd3cb0a
Author | SHA1 | Date | |
---|---|---|---|
57ddd3cb0a | |||
dec467fc19 | |||
2945827788 |
3 changed files with 27 additions and 0 deletions
12
day2/README.md
Normal file
12
day2/README.md
Normal 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
5
day2/sample
Normal 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
10
day3/.gitignore
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
*
|
||||
|
||||
!.gitignore
|
||||
!answer*
|
||||
!*.c
|
||||
*.mod.c
|
||||
!sample*
|
||||
!README.md
|
||||
!LICENSE.md
|
||||
!Makefile
|
Loading…
Reference in a new issue