A java PacMan game application 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.
 
 

53 lines
819 B

  1. package gr.auth.ee.dsproject.node;
  2. import gr.auth.ee.dsproject.pacman.Room;
  3. import java.util.ArrayList;
  4. public class Node
  5. {
  6. int nodeX;
  7. int nodeY;
  8. int depth;
  9. int nodeMove;
  10. double nodeEvaluation;
  11. int[][] currentGhostPos;
  12. int[][] flagPos;
  13. boolean[] currentFlagStatus;
  14. Node parent;
  15. ArrayList<Node> children = new ArrayList<Node>();
  16. // Constructor
  17. public Node ()
  18. {
  19. // TODO Fill This
  20. }
  21. private int[][] findGhosts (Room[][] Maze)
  22. {
  23. // TODO Fill This
  24. }
  25. private int[][] findFlags (Room[][] Maze)
  26. {
  27. // TODO Fill This
  28. }
  29. private boolean[] checkFlags (Room[][] Maze)
  30. {
  31. // TODO Fill This
  32. }
  33. private double evaluate ()
  34. {
  35. double evaluation = (200 * Math.random()) - 100;
  36. return evaluation;
  37. }
  38. }