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.

29 lines
562 B

  1. /**
  2. * @file Game.java
  3. *
  4. * @author Christos Choutouridis AEM:8997
  5. * @email cchoutou@ece.auth.gr
  6. */
  7. package net.hoo2.auth.labyrinth;
  8. /**
  9. *
  10. */
  11. public class Game {
  12. public static void main(String[] args) {
  13. try {
  14. Board board = new Board(7, 3, 60);
  15. board.createBoard(0, Position.toID(3, 3));
  16. String[][] frame = board.getStringRepresentation(0, Position.toID(3, 3));
  17. board.printBoard(frame);
  18. }
  19. catch (Exception e) {
  20. System.out.println(e.getMessage());
  21. System.exit(1);
  22. }
  23. }
  24. }