From 2347ad523bce9e914a902be28b6634a92ae4eaf0 Mon Sep 17 00:00:00 2001 From: Kistaro Windrider Date: Mon, 5 Feb 2024 18:40:19 -0800 Subject: [PATCH] too much fucking lua lately --- uckf.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uckf.go b/uckf.go index 97981a1..7b62c0a 100644 --- a/uckf.go +++ b/uckf.go @@ -56,7 +56,7 @@ func main() { } func onBoard(i, j int) bool { - return i > 0 && j > 0 && i < *edgeSize && j < *edgeSize + return i >= 0 && j >= 0 && i < *edgeSize && j < *edgeSize } func charAt(board [][]byte, i, j int) byte { if !onBoard(i, j) {