aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2025-07-19 18:52:04 -0400
committerFlorian Fischer <florian.fischer@muhq.space>2025-07-22 12:54:28 -0400
commit02da1611f0fda0cdb140ec1e7f264ba68cd85071 (patch)
tree7175779e07f3141c6fa80fd18da1609b0c52d4f3
parent337178ee3957eb5c91d1749b589c38517e7e2a25 (diff)
downloadmuhqs-game-02da1611f0fda0cdb140ec1e7f264ba68cd85071.tar.gz
muhqs-game-02da1611f0fda0cdb140ec1e7f264ba68cd85071.zip
add comment about broken big card grids
-rw-r--r--README.md1
-rw-r--r--go/ui/cardGrid.go2
2 files changed, 3 insertions, 0 deletions
diff --git a/README.md b/README.md
index a92df96a..b0016e0a 100644
--- a/README.md
+++ b/README.md
@@ -123,3 +123,4 @@ Things that should be done eventually:
- [ ] tyrant
- [ ] finish error handling for remote PlayerControls
- [ ] add build flavors to retrieve card data from muhq.space
+- [ ] support big card grids (for sealed)
diff --git a/go/ui/cardGrid.go b/go/ui/cardGrid.go
index ec962350..e3866369 100644
--- a/go/ui/cardGrid.go
+++ b/go/ui/cardGrid.go
@@ -85,6 +85,8 @@ func (w *CardGrid) render() *ebiten.Image {
}
w.gridCards = nCards
w.grid = ebiten.NewImage(width, height)
+ log.Printf("create grid %d, %d\n", width, height)
+ // TODO: support big card grids
xOffset, yOffset := 0.0, 0.0
for i, card := range cards {