A virtual currency betting bot for Twitch chat. https://ddark.net/better
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
463 B

u8 bets_status(App* app);
u64 available_points(App* app, const char* user, i32 betting_on_option);
void register_max_bet(App* app, const char* user, i32 option);
void register_bet(App* app, const char* user, i64 amount, i32 option);
void open_bets(App* app);
void close_bets(App* app);
void reset_bets(App* app);
void do_payout(App* app, i32 winning_option, f64 table_total, f64 grand_total);
#endif // BETTER_BETS_H