here have code

This commit is contained in:
Kistaro Windrider 2024-02-05 17:46:09 -08:00
parent 3f76b634c6
commit cc3abb1fcf
Signed by: kistaro
SSH Key Fingerprint: SHA256:TBE2ynfmJqsAf0CP6gsflA0q5X5wD5fVKWPsZ7eVUg8

35
uckf.go
View File

@ -94,8 +94,41 @@ func isStillFucked(board [][]byte, evals[][]fuckness) {
return isFucked return isFucked
} }
func isFucked(f fuckness) bool {
for i := 0; i <3; i++ {
for j := 0; j < 3; j++ {
if i == 1 && j == 1 {
continue
}
if f[i][j] == Fucked {
return true
}
}
}
return false
}
func mightBeFucked(f fuckness) bool {
for i := 0; i <3; i++ {
for j := 0; j < 3; j++ {
if i == 1 && j == 1 {
continue
}
if f[i][j] == NotFucked {
return true
}
}
}
return false
}
func fuckUp(board [][]byte, evals [][]fuckness) { func fuckUp(board [][]byte, evals [][]fuckness) {
var todo [][2]int
for i, row := range evals {
for j, e := range row {
}
}
} }
func dump(board [][]byte, title string) { func dump(board [][]byte, title string) {