瀏覽代碼

Notes on card layout.

Steve Thielemann 2 年之前
父節點
當前提交
c6a331e7c2
共有 1 個文件被更改,包括 9 次插入2 次删除
  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},