A java snake game for A.U.TH. Data structures class
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
354 B

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