Added basic betting, turns, and added queue restacking
This commit is contained in:
19
include/dawn/poker/turn.h
Normal file
19
include/dawn/poker/turn.h
Normal file
@ -0,0 +1,19 @@
|
||||
/**
|
||||
* Copyright (c) 2021 Dominic Masters
|
||||
*
|
||||
* This software is released under the MIT License.
|
||||
* https://opensource.org/licenses/MIT
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#include "../libs.h"
|
||||
|
||||
#define POKER_TURN_TYPE_OUT 0x00
|
||||
#define POKER_TURN_TYPE_FOLD 0x01
|
||||
#define POKER_TURN_TYPE_BET 0x02
|
||||
|
||||
typedef struct {
|
||||
uint8_t type;
|
||||
int32_t chips;
|
||||
float confidence;
|
||||
} pokerturn_t;
|
Reference in New Issue
Block a user