issues
search
chesskit-app
/
chesskit-swift
♟️ Swift package for implementing chess logic.
MIT License
7
stars
6
forks
source link
Fix move tree previous index calculation
#24
Closed
pdil
closed
1 month ago
pdil
commented
1 month ago
Fix issue in
MoveTree.previousIndex(for:)
when provided index is equal to
minimumIndex.next
.
Regression occurred after introduction of
minimumIndex
property in
MoveTree
.
MoveTree.previousIndex(for:)
when provided index is equal tominimumIndex.next
.minimumIndex
property inMoveTree
.