Skip to content

Instantly share code, notes, and snippets.

@MarcinMoskala
Created May 25, 2018 19:48
Show Gist options
  • Select an option

  • Save MarcinMoskala/5f51ee3af5ca88e5be654052759fae78 to your computer and use it in GitHub Desktop.

Select an option

Save MarcinMoskala/5f51ee3af5ca88e5be654052759fae78 to your computer and use it in GitHub Desktop.
fun getBetSize(trueCount: Int, bankroll: Double): Double {
val bettingUnit = bankroll / 1000
return (bettingUnit * (trueCount - 1)).coerceIn(25.0, 1000.0)
}
@fydasam

fydasam commented May 25, 2018

Copy link
Copy Markdown

"201222031",H:"201222032"},I={l:"21060869",o:"21060870",A:"21060871"},J={l:"21060872",o:"21060873",A:"21060874"},Zc={l:"332260000",K:"332260003"},$c={l:"332260004",K:"332260007"},ad={l:"21060518",o:"21060519"},bd={l:"21060830",ca:"21060831",X:"21060832",ba:"21060843",aa:"21061122"},cd={l:"21061394",o:"21061395"},dd={l:"182982000",o:"182982100"},ed={l:"182982200",o:"182982300"},fd={l:"182983000",o:"182983100"},gd={l:"182983200",o:"182983300"},hd={l:"10583695",o:"10583696"},id={l:"10593695",o:"10593696"},Ka={l:"21062077",xa:"21062078",ya:"21062079",za:"21062080",Aa:"21062081"};var jd=

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment