2#ifndef MAINPROJECT_MOVENODE_H
3#define MAINPROJECT_MOVENODE_H
Represents the game board and its functionality.
Definition board.h:21
Class representing a move in the game.
Definition move.h:7
Class representing a node in the MinMax tree.
Definition movenode.h:10
int score
Definition movenode.h:46
void addChild(const MoveNode &child)
Add a child to this node.
Definition movenode.cpp:37
Move getMove() const
Get the move associated with this node.
Definition movenode.cpp:13
Move move
Definition movenode.h:45
std::vector< MoveNode > getChildren() const
Get the children of this node.
Definition movenode.cpp:29
MoveNode(const Move &move, int score)
Constructor for MoveNode class.
Definition movenode.cpp:7
int getScore() const
Get the score of this node.
Definition movenode.cpp:21
std::vector< MoveNode > children
Definition movenode.h:47