Browse Source

refactoring:

main
Justin Senn 2 years ago
parent
commit
6d2cda9390
  1. 4
      src/main/java/Snake/Game.java

4
src/main/java/Snake/Game.java

@ -3,8 +3,8 @@ package Snake;
public class Game { public class Game {
public Game() { public Game() {
final int VIEW_SIZE = 250;
final int GRID_SIZE = 25;
final int VIEW_SIZE = 500;
final int GRID_SIZE = 50;
final int CELL_SIZE = VIEW_SIZE / GRID_SIZE; final int CELL_SIZE = VIEW_SIZE / GRID_SIZE;
Window gameWindow = new Window(VIEW_SIZE, GRID_SIZE); Window gameWindow = new Window(VIEW_SIZE, GRID_SIZE);

Loading…
Cancel
Save