Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

coin value #4

Open
Skyyszz opened this issue Feb 16, 2024 · 1 comment
Open

coin value #4

Skyyszz opened this issue Feb 16, 2024 · 1 comment

Comments

@Skyyszz
Copy link

Skyyszz commented Feb 16, 2024

How do I change the currency value and game speed? Even when it's difficult, it's still easy to win

@daanrox
Copy link
Owner

daanrox commented Feb 24, 2024

All of the following changes must be made to the game folder e.g.: jogar/js/dependencies.bundle.js

To change the value of the currency, simply edit the divisor that calculates and assigns the variable:

let numberMoney = parseFloat(t.coins / 4).toFixed(2);

The number 4 means 1/4= 0.25

If you want the coin to be worth 0.01, just change the divisor to 100 (1/100=0.01).

To edit the speed, simply search for:

switch(globalDifficulty)

Change all cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants