23 lines
564 B
C
23 lines
564 B
C
// Copyright (c) 2021 Dominic Masters
|
|
//
|
|
// This software is released under the MIT License.
|
|
// https://opensource.org/licenses/MIT
|
|
|
|
#pragma once
|
|
#include <dawn/dawn.h>
|
|
|
|
/**
|
|
* Let a player bet chips into the pot.
|
|
*
|
|
* @param poker Poker game instance.
|
|
* @param player Poker player instance.
|
|
* @param chips Chips to bet.
|
|
*/
|
|
void pokerBetPlayer(poker_t *poker, pokerplayer_t *player, int32_t chips);
|
|
|
|
/**
|
|
* Takes the current blinds from the correct players.
|
|
*
|
|
* @param poker Poker game to take the blinds from.
|
|
*/
|
|
void pokerBetTakeBlinds(poker_t *poker); |