
'use strict';

export const buyIn = 20;
export const startingSeconds = 15 * 60;
export const smallBlinds = [ 100, 200, 300, 400, 500, 800, 1000, 1500, 2000, 3000, 5000];
export function payouts( pot ) {
    if ( pot <= 80 ) {
        return [ pot, 0, 0 ];
    } else if ( pot <= 140 ) {
        return [ pot - 30, 30, 0 ];
    } else if ( pot <= 180 ) {
        return [ pot - 60, 40, 20 ];
    } else {
        return [ pot - 80, 60, 20 ];
    }
};

@@ -33,16 +33,18 @@
 In = 20;
+ %0A
 %0Aexport 
@@ -76,16 +76,17 @@
 5 * 60;%0A
+%0A
 export c
@@ -167,16 +167,17 @@
  5000%5D;%0A
+%0A
 export f
@@ -209,247 +209,50 @@
     
-if ( pot %3C= 80 ) %7B%0A        return %5B pot, 0, 0 %5D;%0A    %7D else if ( pot %3C= 140 ) %7B%0A        return %5B pot - 30, 30, 0 %5D;%0A    %7D else if ( pot %3C= 180 ) %7B%0A        return %5B pot - 60, 40, 20 %5D;%0A    %7D else %7B%0A        return %5B pot - 80, 60, 20 %5D;%0A    %7D%0A%7D;
+return %5B pot * 0.5, pot * 0.3, pot * 0.2 %5D;%0A%7D
 %0A

Update payout structure to 50-30-20