Help with my Javascript

Job ID: 35532539

Budget: €8 – €30 EUR

I need help in revising my javascript code to continue it in case of network drops and avoid losses. The current code has complex logic for bets and payouts that is modified when losses occur. I want the code to be able to maintain and continue the last logic and values even in case of network disconnections.

This is a longer block of code stored in an object called "config". The code is not currently stored persistently in any way and always starts over when the network is disconnected.

I am looking for a developer who has experience solving such problems in javascript and who is able to make the needed adjustments. If possible, I would like to avoid using Local Storage or other persistent storage methods, but I am open to suggestions.

Please make sure to take a close look at the attached code block before applying to the project to ensure you have the required skills. I look forward to hearing from you and seeing how you can help me with this project.
Related categories: PHP JavaScript HTML jQuery / Prototype JSON