Browse Source

Notes on card layout.

Steve Thielemann 2 years ago
parent
commit
c6a331e7c2
1 changed files with 9 additions and 2 deletions
  1. 9 2
      deck.go

+ 9 - 2
deck.go

@@ -274,6 +274,13 @@ var CardPos []Pos
 // What cards block which card?
 var Blocks [][]int
 
+/*
+        00          01          02
+      03  04      05  06      07  08
+    09  10  11  12  13  14  15  16  17
+  18  19  20  21  22  23  24  25  26  27
+*/
+
 // Pre-calculate the card positions
 func init() {
 	CardPos = make([]Pos, 30)
@@ -290,8 +297,8 @@ func init() {
 		{12, 13},
 		{13, 14},
 		{15, 16},
-		{16, 17},
-		{18, 19}, // end row 2
+		{16, 17}, // end row 2
+		{18, 19},
 		{19, 20},
 		{20, 21},
 		{21, 22},