Home
last modified time | relevance | path

Searched refs:thisPly (Results 1 – 1 of 1) sorted by relevance

/plugin/pgn4web/pgn4web/
Dpgn4web.js656 var thisPly = numPlies ? CurrentPly - numPlies : StartPly;
657 if (thisPly < StartPlyVar[CurrentVar]) {
658 thisPly = StartPlyVar[CurrentVar] + (CurrentVar === 0 ? 0 : 1);
660 if (thisPly !== CurrentPly) { GoToMove(thisPly); }
806 for (var thisPly = StartPly; thisPly < CurrentPly; thisPly++) {
807 if ((HistType[0][thisPly] == 6) || (HistPieceId[1][thisPly] >= 16)) { HalfMoveClock = 0; }
826 for (var thisPly = CurrentPly; thisPly <= StartPly + PlyNumber; thisPly++) {
828 if (thisPly == StartPly + PlyNumber) {
831 if (thisPly%2 === 0) { addStr = (Math.floor(thisPly/2)+1) + ". "; }
832 else if (thisPly == CurrentPly) { addStr = (Math.floor(thisPly/2)+1) + "... "; }
[all …]