A java PacMan game application for A.U.TH (data structures class)
Vous ne pouvez pas sélectionner plus de 25 sujets
Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
|
- package gr.auth.ee.dsproject.node;
-
- import gr.auth.ee.dsproject.pacman.Room;
-
- import java.util.ArrayList;
-
- public class Node
- {
-
- int nodeX;
- int nodeY;
- int depth;
- int nodeMove;
- double nodeEvaluation;
- int[][] currentGhostPos;
- int[][] flagPos;
- boolean[] currentFlagStatus;
-
- Node parent;
- ArrayList<Node> children = new ArrayList<Node>();
-
- // Constructor
- public Node ()
- {
- // TODO Fill This
- }
-
- private int[][] findGhosts (Room[][] Maze)
- {
- // TODO Fill This
- }
-
- private int[][] findFlags (Room[][] Maze)
- {
- // TODO Fill This
- }
-
- private boolean[] checkFlags (Room[][] Maze)
- {
-
- // TODO Fill This
- }
-
- private double evaluate ()
- {
-
- double evaluation = (200 * Math.random()) - 100;
- return evaluation;
-
- }
-
- }
|