Completed Day 4a
tough one, lots of spaghetti code too!
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
package main
|
||||
|
||||
type Board struct {
|
||||
Values [5][5]boardValue
|
||||
Hash map[int]location
|
||||
}
|
||||
|
||||
type boardValue struct {
|
||||
Value int
|
||||
Visited bool
|
||||
}
|
||||
|
||||
type location struct {
|
||||
x int
|
||||
y int
|
||||
}
|
||||
Reference in New Issue
Block a user