Correction

This commit is contained in:
clement 2025-05-22 08:20:46 +02:00
parent 4405e87f7c
commit 88cb3e54a4
1 changed files with 2 additions and 2 deletions

View File

@ -126,9 +126,9 @@ public class JPanelChessBoard extends JPanel {
}
}
// overlay "Chessmate" sans effacer l'échiquier
// overlay "Checkmate" sans effacer l'échiquier
if (myGame != null && myGame.isGameOver()) {
String text = "Chessmate";
String text = "Checkmate";
Font font = new Font("SansSerif", Font.BOLD, 48);
g.setFont(font);
FontMetrics fm = g.getFontMetrics(font);