packagecom.game;importjava.awt.BorderLayout;importjava.awt.event.ActionEvent;importjava.awt.event.ActionListener;importjavax.swing.JButton;importjavax.swing.JFrame;importcom.controller.Controller;importcom.global.Global;importcom.snake.Food;importcom.snake.Ground;importcom.snake.Snake;importcom.view.GamePan