public bool IsValidFor(ImmutableBubbleBurstGrid grid) { return(Locations.All(location => grid[location.X, location.Y] == Colour)); }
public GameMove(ImmutableBubbleBurstGrid grid) { Score = 0; GridState = grid; Moves = new List <PointAndColour>(); }
public BubbleGroupFinder(ImmutableBubbleBurstGrid grid, IEnumerable <BubbleGroup> parentsGroups) { _grid = grid; _stats = new Dictionary <Bubble, int>(); //_parentGroups = parentsGroups ?? Enumerable.Empty<BubbleGroup>(); }
internal GameMove(ImmutableBubbleBurstGrid gridState, IList <PointAndColour> moves, int score) { Score = score; Moves = moves; GridState = gridState; }