Changed colors
This commit is contained in:
parent
a6a2a5a863
commit
4f7df9f67e
|
@ -272,10 +272,10 @@ public class Game {
|
||||||
* Prints the current board to stdout.
|
* Prints the current board to stdout.
|
||||||
*/
|
*/
|
||||||
private void logGame(GameEntry entry) {
|
private void logGame(GameEntry entry) {
|
||||||
Ansi playerX = Ansi.ansi().render("|X");
|
Ansi playerX = Ansi.ansi().render("|@|red X|@");
|
||||||
Ansi playerO = Ansi.ansi().render("|O");
|
Ansi playerO = Ansi.ansi().render("|@|green O|@");
|
||||||
Ansi playerXBold = Ansi.ansi().render("|@|red,bold X|@");
|
Ansi playerXBold = Ansi.ansi().render("|@|magenta,bold X|@");
|
||||||
Ansi playerOBold = Ansi.ansi().render("|@|red,bold O|@");
|
Ansi playerOBold = Ansi.ansi().render("|@|magenta,bold O|@");
|
||||||
for(int i = 0; i < board[0].length; i++){
|
for(int i = 0; i < board[0].length; i++){
|
||||||
for(int j = 0;j < board.length; j++){
|
for(int j = 0;j < board.length; j++){
|
||||||
if(i == entry.getRow() && j == entry.getColumn()) {
|
if(i == entry.getRow() && j == entry.getColumn()) {
|
||||||
|
|
Loading…
Reference in a new issue