aboutsummaryrefslogtreecommitdiff
path: root/tris/lines.go
diff options
context:
space:
mode:
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}