A java PacMan game application for A.U.TH (data structures class)
Du kannst nicht mehr als 25 Themen auswählen
Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
|
- 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;
-
- }
-
- }
|