Hello Guest

Reset seed

  • 1 Replies
  • 2191 Views
*

ak47

  • **
  • 26
  • +0/-0
    • View Profile
Reset seed
« on: October 21, 2018, 09:56:14 am »
How resetseed() works before function dobet() or it really works or not?? I have doubt!
resetseed()
function dobet()

*

Krypton

  • **
  • 19
  • +0/-0
    • View Profile
Re: Reset seed
« Reply #1 on: December 03, 2018, 11:57:21 am »
-- The following example will reset seed only once during the whole game play
resetseed()
function dobet()
      {DO SOMETHING}
end

-- The following example will reset seed after each and every winning bet only
function dobet()
  if win then
      resetseed()
      {DO SOMETHING}
  end
end

-- The following example will reset seed after each and every loosing bet only
function dobet()
  if !win then
      resetseed()
      {DO SOMETHING}
  end
end

-- The following example will reset seed after each and every bet
function dobet()
      resetseed()
      {DO SOMETHING}
end