From 3bdb5079893c2543d7bebd026432bf8ec8d41856 Mon Sep 17 00:00:00 2001 From: Thayol Date: Wed, 23 Jun 2021 18:19:37 +0200 Subject: [PATCH] Rename cash-out to auto-advance --- index.html | 2 +- script.js | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/index.html b/index.html index daad7ca..0472094 100644 --- a/index.html +++ b/index.html @@ -28,7 +28,7 @@ Points: ?
- +
?
diff --git a/script.js b/script.js index 7d08460..9d20ff7 100644 --- a/script.js +++ b/script.js @@ -146,11 +146,11 @@ function cashOut(thisHand = null) { handGiven = false; } - console.log("Recommendation: "); - console.log(recommendations[0]); + // console.log("Recommendation: "); + // console.log(recommendations[0]); if (recommendations[0].burnedCard) { - console.log("Discarding: " + recommendations[0].burnedCard); + // console.log("Discarding: " + recommendations[0].burnedCard); discard(recommendations[0].burnedCard, thisHand, false); } else if (recommendations[0].pattern && recommendations[0].cards) { @@ -162,12 +162,12 @@ function cashOut(thisHand = null) { recommendations = []; for (let cardId of localCards) { - console.log("Redeeming: " + cardId); + // console.log("Redeeming: " + cardId); discard(cardId, thisHand, false); } globalPoints += localPoints; - console.log("Cashed out: " + (localPoints * pointsMultiplier) + " points"); + // console.log("Cashed out: " + (localPoints * pointsMultiplier) + " points"); } if (!handGiven) { @@ -175,7 +175,7 @@ function cashOut(thisHand = null) { } } else { - console.log("Nothing to cash out."); + // console.log("Nothing to do."); } }