package SnakePkg; public class Game { public static void main(String[] args) { try { Board b = new Board(10, 20, 3, 6, 6); b.createBoard(); b.createElementBoard(); } catch(Exception e){ System.out.println("Exception caught:" + e.getMessage()); } } }