Skip to content

Commit

Permalink
style: change ANSI colors
Browse files Browse the repository at this point in the history
  • Loading branch information
Starath committed Feb 24, 2025
1 parent 771ad76 commit 91dbc43
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/Board.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,22 @@ public class Board {
private int validGrids;

public static final String[] ANSI_COLORS = {
"\u001B[30m", // Hitam
"\u001B[37m", // Putih
"\u001B[31m", // Merah
"\u001B[32m", // Hijau
"\u001B[33m", // Kuning
"\u001B[34m", // Biru
"\u001B[35m", // Ungu
"\u001B[36m", // Cyan
"\u001B[37m", // Putih
"\u001B[90m", // Hitam terang
"\u001B[97m", // Putih terang
"\u001B[37;1m", // Abu-abu terang
"\u001B[91m", // Merah terang
"\u001B[92m", // Hijau terang
"\u001B[93m", // Kuning terang
"\u001B[94m", // Biru terang
"\u001B[95m", // Ungu terang
"\u001B[96m", // Cyan terang
"\u001B[97m", // Putih terang
"\u001B[97;1m", // Putih lebih terang
"\u001B[40m", // Background Hitam
"\u001B[41m", // Background Merah
"\u001B[42m", // Background Hijau
Expand All @@ -39,6 +39,7 @@ public class Board {
"\u001B[107m" // Background Putih terang
};


public static final String ANSI_RESET = "\u001B[0m";


Expand Down

0 comments on commit 91dbc43

Please sign in to comment.