Compare commits

...

1 Commits

Author SHA1 Message Date
86025cd66f Day 3: WIP 2017-12-03 12:19:25 +01:00

25
03dec/main.go Normal file
View File

@ -0,0 +1,25 @@
package main
import (
"fmt"
"os"
"strconv"
)
const (
W = iota
N
E
S
)
func main() {
n, err := strconv.Atoi(os.Args[1])
if err != nil {
os.Exit(1)
}
fmt.Println(n)
cur, x, y, dir, width, height := 1, 0, 0, W
// create cell and compute change direction, expand grid
}