# -------------------------------------------------------------------- # river - fifth (last) board card. Last stage in the game. # -------------------------------------------------------------------- # -------------------------------------------------------------------- # check-raise proposal - Strongest hands, no bets yet, # enough players after us for someone to make the first bet. # -------------------------------------------------------------------- sp {river*propose*check-raise (state ^name river ^io ) ( ^input-link ^output-link
    ) ( ^clock ^game ) ( ^check-raise-used no # Just once per game ^num-bets 0 ^unacted >= 4 ^best-hand-probability >= .90) --> ( ^operator +) ( ^name river*check-raise ^bet.action check-raise ^score 40) } # -------------------------------------------------------------------- # bet-raise proposal - If we have a strong hand, bet or raise. # -------------------------------------------------------------------- sp {river*propose*bet*raise*based-on-probability (state ^name river ^io ) ( ^input-link ^output-link
      ) ( ^clock ^game ) ( ^best-hand-probability >= .90) --> ( ^operator +) ( ^name river*bet*raise*based-on-probability ^bet.action raise ^score 30) } # -------------------------------------------------------------------- # If we like the odds, call. # -------------------------------------------------------------------- sp {river*propose*call*based-on-adjusted-odds (state ^name river ^io ) ( ^input-link ^output-link
        ) ( ^clock ^game ) ( ^adjusted-odds { > 1.00 }) --> (write (crlf) |adjusted-odds == | ) ( ^operator +) ( ^name river*call*based-on-adjusted-odds ^bet.action call ^score 20) }