added comments to isVictor, mainGameLoop, updateAllPieces