Fix board color

This commit is contained in:
Romain MURPHY 2025-04-28 18:21:41 +02:00
parent e41f775d32
commit 2ae4296d7d
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ public class JPanelChessBoard extends JPanel {
float cellWidth = cellWidth();
float cellHeight = cellHeight();
g.setColor(Color.white);
g.setColor(new Color(238,238,210));
for(int x=0; x<myGame.getWidth();x++) {
for (int y=0; y<myGame.getHeight(); y++) {
boolean isSelect = myGame.isSelected(x,y);