tisch6: TISCH_AB (nur Blaetter ab b, eigene Teildatei); Buendel gegen shf auf 3 Tischen
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -269,6 +269,10 @@ def main():
|
||||
ti, tn = (int(v) for v in teil.split("/")) if teil else (0, 1)
|
||||
if teil:
|
||||
aus = aus[:-6] + ".teil%d.jsonl" % ti
|
||||
# TISCH_AB=<b> (29.11.): nur Blaetter ab b (Kartenstrom gleich), eigene Datei <aus>.teilab<b>.jsonl
|
||||
ab = int(os.environ.get("TISCH_AB") or 0)
|
||||
if ab:
|
||||
aus = aus[:-6] + ".teilab%d.jsonl" % ab
|
||||
schon = {}
|
||||
# TISCH_AUCH=<datei> (29.11.): fertige Haende auch aus dieser Datei ueberspringen (Teile nach einem ungeteilten Lauf), nur lesen
|
||||
auch = os.environ.get("TISCH_AUCH")
|
||||
@@ -295,7 +299,7 @@ def main():
|
||||
for b in range(blaetter):
|
||||
blatt = DECK[:]
|
||||
rng.shuffle(blatt)
|
||||
if b % tn != ti:
|
||||
if b % tn != ti or b < ab:
|
||||
continue
|
||||
for dreh in range(n):
|
||||
xs = [(dreh + k) % n for k in range(drei)]
|
||||
|
||||
Reference in New Issue
Block a user