Fix garbage elimination bug and align board with header

- Change y-- instead of y++ when pushing piece up on garbage
- Add y < 0 check to properly detect piece pushed off top
- Remove margin-top from battle grid to align with header

Co-Authored-By: Claude Opus 4.6 <[email protected]>
This commit is contained in:
jozamudiandClaude Opus 4.6 committed 2026-03-21 01:07:21 +00:00
1 parent 27b0adcc90
commit bdeb6c8849
2 files changed
+4 -5

No files matched your search

-1
View File
@@ -197,7 +197,6 @@ button:active {
display: flex;
justify-content: center;
align-items: center;
margin-top: 20px;
}
/* Main player board - centered and large */