From 8d7d97608d0315d14b8c0c921ee3de7a7cc979ac Mon Sep 17 00:00:00 2001 From: Renan LE CARO Date: Sat, 29 Mar 2025 21:21:48 +0100 Subject: [PATCH] Test fixes --- Readme.md | 2 +- dist/index.html | 6 +----- src/game_utils.ts | 3 --- src/premium.ts | 1 - 4 files changed, 2 insertions(+), 10 deletions(-) diff --git a/Readme.md b/Readme.md index e962551..4622895 100644 --- a/Readme.md +++ b/Readme.md @@ -35,7 +35,7 @@ already maxed out. - [jaceys] A visual indication of whether a ball has hit a brick this serve - Top down /reach: punishing now, maybe only reset if you hit the lowest populate row of the level, if it's not a full width row -# Todo before next release +# To do before next release # Next diff --git a/dist/index.html b/dist/index.html index e36eb86..4db1586 100644 --- a/dist/index.html +++ b/dist/index.html @@ -2004,7 +2004,7 @@ const rawUpgrades = [ } ]; -},{"./i18n/i18n":"eNPRm","./game_utils":"cEeac","@parcel/transformer-js/src/esmodule-helpers.js":"gkKU3"}],"eNPRm":[function(require,module,exports,__globalThis) { +},{"./i18n/i18n":"eNPRm","@parcel/transformer-js/src/esmodule-helpers.js":"gkKU3","./game_utils":"cEeac"}],"eNPRm":[function(require,module,exports,__globalThis) { var parcelHelpers = require("@parcel/transformer-js/src/esmodule-helpers.js"); parcelHelpers.defineInteropFlag(exports); parcelHelpers.export(exports, "getCurrentLang", ()=>getCurrentLang); @@ -2266,7 +2266,6 @@ function countBricksBelow(gameState, index) { function comboKeepingRate(level) { return clamp(1 - 1 / (1 + level) * 1.5, 0, 1); } -for(let i = 0; i < 5; i++)console.log(Math.round(comboKeepingRate(i) * 100) + '%'); },{"./loadGameData":"l1B4x","./i18n/i18n":"eNPRm","@parcel/transformer-js/src/esmodule-helpers.js":"gkKU3"}],"6rQoT":[function(require,module,exports,__globalThis) { var parcelHelpers = require("@parcel/transformer-js/src/esmodule-helpers.js"); @@ -4512,9 +4511,6 @@ function premiumMenuEntry(gameState) { text = (0, _i18N.t)("premium.per_hours", args); help = (0, _i18N.t)("premium.per_hours_help", args); } - console.log({ - args - }); } } catch (e) { console.warn(e); diff --git a/src/game_utils.ts b/src/game_utils.ts index 0738313..64e0e3d 100644 --- a/src/game_utils.ts +++ b/src/game_utils.ts @@ -192,7 +192,4 @@ export function countBricksBelow(gameState: GameState, index: number) { export function comboKeepingRate(level:number){ return clamp(1-1/(1+level)*1.5,0,1) -} -for(let i = 0;i<5;i++){ - console.log(Math.round(comboKeepingRate(i)*100)+'%') } \ No newline at end of file diff --git a/src/premium.ts b/src/premium.ts index 15655fb..5aa7ac8 100644 --- a/src/premium.ts +++ b/src/premium.ts @@ -116,7 +116,6 @@ export function premiumMenuEntry(gameState: GameState) { help = t("premium.per_hours_help", args); } - console.log({ args }); } } catch (e) { console.warn(e);