I need you to develop some software for me. I would like this software to be developed for Windows using Javascript.
I need to add two things
in this script
1. add time after loss wait for 3 minutes
2. bet amount after 3 minutes 500
3. if lost wait for again 2 minutes
4. bet amount after 2 minutes 200
likes that
here is the script
var config = {
baseBet: { value: 100, type: 'balance', label: 'base bet' },
payout: { value: 2, type: 'multiplier' },
stop: { value: 1e8, type: 'balance', label: 'stop if bet >' },
loss: {
value: 'increase', type: 'radio', label: 'On Loss',
options: {
base: { type: 'noop', label: 'Return to base bet' },
increase: { value: 2, type: 'multiplier', label: 'Increase bet by' },
}
},
win: {
value: 'base', type: 'radio', label: 'On Win',
options: {
base: { type: 'noop', label: 'Return to base bet' },
increase: { value: 2, type: 'multiplier', label: 'Increase bet by' },
}
}
};
log('Script is running..');
var currentBet = [login to view URL];
// Always try to bet when script is started
[login to view URL](currentBet, [login to view URL]);
[login to view URL]('GAME_STARTING', onGameStarted);
[login to view URL]('GAME_ENDED', onGameEnded);
function onGameStarted() {
[login to view URL](currentBet, [login to view URL]);
}
function onGameEnded() {
var lastGame = [login to view URL]()
// If we wagered, it means we played
if (![login to view URL]) {
return;
}
// we won..
if ([login to view URL]) {
if ([login to view URL] === 'base') {
currentBet = [login to view URL];
} else {
[login to view URL]([login to view URL] === 'increase');
currentBet *= [login to view URL];
}
log('We won, so next bet will be', currentBet/100, 'bits')
} else {
// damn, looks like we lost :(
if ([login to view URL] === 'base') {
currentBet = [login to view URL];
} else {
[login to view URL]([login to view URL] === 'increase');
currentBet *= [login to view URL];
}
log('We lost, so next bet will be', currentBet/100, 'bits')
}
if (currentBet > [login to view URL]) {
log('Was about to bet', currentBet, 'which triggers the stop');
[login to view URL]('GAME_STARTING', onGameStarted);
[login to view URL]('GAME_ENDED', onGameEnded);
}
}
more details hie script work is here.
[login to view URL]
Hi
I understand your requirements regarding Web. I am professionals BTech IT engineer. I am providing the every kind of service related to Web sites and server management. I have 5 years experience in Web development. I am providing services in below areas.
1) Web development
2) WordPress and woocommerce
3) front end develolment using angular js and react js, core jacascript, jquery
4) database management and database security. mysql and monogodb
5) responsive Web design using bootstrap and css3
6) page speed increase and Web site seo using Google page speed.
7) core php solutions and development.
I have experience of code optimization and algorithm design. I have knowledge of tree, graph and link list algorithm. I know how to make code better and fast. I am following all coding guide lines to make code better and fast.
My company objective to make our client satisfied and happy . I take care the every requirement of client and deadline. i have done 150 projects in 5 years. I am dedicated and honest freelancer.
I have work experience for top MNC companies as software engineer. I have worked for HCL technology pvt ltd and tcs.
I have done internship under Google pvt ltd. I have done one project for BRLCAD USA army research lab.
If you like to hire me then just put me a message