From df2268cd55cd7396e2e48dd1f542436fe91db45a Mon Sep 17 00:00:00 2001 From: ElnuDev Date: Fri, 17 Feb 2023 22:38:54 -0800 Subject: [PATCH] Minor cleanup --- src/Board.java | 2 +- src/Main.java | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Board.java b/src/Board.java index f228800..c76e1da 100644 --- a/src/Board.java +++ b/src/Board.java @@ -42,7 +42,7 @@ public class Board { for (int y = 0; y < 2; y++) for (int x = 0; x < BOARD_SIZE; x++) { set(x, y, new Piece(true)); - set(x, y + 6, new Piece(false)); + set(x, y + BOARD_SIZE - 2, new Piece(false)); } } diff --git a/src/Main.java b/src/Main.java index eda4b4b..7c17f30 100644 --- a/src/Main.java +++ b/src/Main.java @@ -1,8 +1,6 @@ import java.awt.*; public class Main { - static int TILE_SIZE = 64; - public static void main(String[] args) { Board board = new Board(); board.draw();