Moving right along

This commit is contained in:
2019-12-18 07:25:25 -06:00
parent 0e315631dd
commit 629f47bcf9
7 changed files with 462 additions and 12 deletions

22
2019/day17/main.go Normal file
View File

@@ -0,0 +1,22 @@
package main
import (
intcode "git.bullercodeworks.com/brian/adventofcode/2019/intcode-processor"
helpers "git.bullercodeworks.com/brian/adventofcode/helpers"
)
var layout [][]byte
func main() {
pt := helpers.GetArgNumber(1)
prog := intcode.ReadIntCodeFile("input")
if pt == "1" {
part1(prog)
} else if pt == "walk" {
part1(prog)
walk()
} else {
part2(prog)
}
}