aboutsummaryrefslogtreecommitdiff
path: root/tris/lines.go
diff options
context:
space:
mode:
authorJoop Kiefte <ikojba@gmail.com>2020-09-12 16:37:57 +0200
committerJoop Kiefte <ikojba@gmail.com>2020-09-12 16:37:57 +0200
commit38293b6d5df68eff2794576bb64f82c2715429b6 (patch)
treec6d839a2a055be9b4045fa8acc3d426ae74580fa /tris/lines.go
parentbd80439d9620f02b124b274cd79b8c8d30b69016 (diff)
Add more comments
Diffstat (limited to 'tris/lines.go')
-rw-r--r--tris/lines.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/tris/lines.go b/tris/lines.go
index 5cb6981..7c7026b 100644
--- a/tris/lines.go
+++ b/tris/lines.go
@@ -1,5 +1,6 @@
package tris
+// Lines counts the number of lines that is completed and returns a Field with them removed
func (f Field) Lines() (int, Field) {
full := [10]bool{true, true, true, true, true, true, true, true, true, true}
empty := [10]bool{false, false, false, false, false, false, false, false, false, false}