|
@ -3,8 +3,8 @@ package Snake; |
|
|
public class Game { |
|
|
public class Game { |
|
|
public Game() { |
|
|
public Game() { |
|
|
|
|
|
|
|
|
final int VIEW_SIZE = 100; |
|
|
|
|
|
final int GRID_SIZE = 10; |
|
|
|
|
|
|
|
|
final int VIEW_SIZE = 250; |
|
|
|
|
|
final int GRID_SIZE = 25; |
|
|
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); |
|
|