Commit 0561ac34 authored by Ahmad Nemati's avatar Ahmad Nemati

git pull

parent 2eb12434
...@@ -8,6 +8,7 @@ let arr = [] ...@@ -8,6 +8,7 @@ let arr = []
let lastBalance=10000 let lastBalance=10000
let balance =lastBalance let balance =lastBalance
init() init()
badLoader()
let base=1 let base=1
let com let com
...@@ -28,6 +29,26 @@ run() ...@@ -28,6 +29,26 @@ run()
} }
async function badLoader() {
let bad = await fs.readFileSync('bad.txt', 'utf8');
bad=JSON.parse(bad)
base=parseFloat(bad.bad)
await sleep(500)
return badLoader()
}
async function sleep(millis) {
return new Promise(resolve => setTimeout(resolve, millis));
}
async function run() async function run()
{ {
com=_.shuffle(com) com=_.shuffle(com)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment