Moved texas holdem files out of holdem directory.

This commit is contained in:
2021-05-16 17:51:00 -07:00
parent 1755a87b02
commit d71955936e
33 changed files with 51 additions and 43 deletions

View File

@ -17,6 +17,14 @@ holdemaction_t actionAi() {
void actionAiInit(int32_t index, void *data) {
logText("AI Round start");
/*
Current theory for the AI code will be;
1 - Determine weight of my cards+flop as %
2 - Determine current bet, compare against [something] and then determine if
worth the risk. I may need history of the game to make informed decision
*/
holdemActionRemove(index);
}

View File

@ -9,7 +9,7 @@
#include <dawn/dawn.h>
#include "action.h"
#include "flop.h"
#include "../../../debug/log.h"
#include "../../debug/log.h"
holdemaction_t actionAi();

View File

@ -7,7 +7,7 @@
#pragma once
#include <dawn/dawn.h>
#include "../../../debug/log.h"
#include "../../debug/log.h"
#include "action.h"
#include "ai.h"

View File

@ -10,7 +10,7 @@
#include "action.h"
#include "../holdem.h"
#include "../render/look.h"
#include "../../../debug/log.h"
#include "../../debug/log.h"
#include "ai.h"
holdemaction_t actionFlop();

View File

@ -8,7 +8,7 @@
#pragma once
#include <dawn/dawn.h>
#include "../render/holdemrender.h"
#include "../../../debug/log.h"
#include "../../debug/log.h"
#include "../holdem.h"
#include "action.h"
#include "ai.h"

View File

@ -8,7 +8,7 @@
#pragma once
#include <dawn/dawn.h>
#include "action.h"
#include "../../../debug/log.h"
#include "../../debug/log.h"
typedef struct {
void (*done)();

View File

@ -9,7 +9,7 @@
#include <dawn/dawn.h>
#include "action.h"
#include "round.h"
#include "../../../debug/log.h"
#include "../../debug/log.h"
holdemaction_t actionStart();

View File

@ -7,12 +7,12 @@
#pragma once
#include <dawn/dawn.h>
#include "../card.h"
#include "../../display/spritebatch.h"
#include "../../display/texture.h"
#include "../../display/tileset.h"
#include "../../display/shader.h"
#include "../../file/asset.h"
#include "card.h"
#include "../display/spritebatch.h"
#include "../display/texture.h"
#include "../display/tileset.h"
#include "../display/shader.h"
#include "../file/asset.h"
/**
* Deals a card to the given player, does all the follow up.

View File

@ -9,9 +9,9 @@
#include <dawn/dawn.h>
#include "holdem.h"
#include "render/holdemrender.h"
#include "../card.h"
#include "../../file/asset.h"
#include "../../display/gui/font.h"
#include "card.h"
#include "../file/asset.h"
#include "../display/gui/font.h"
#include "action/action.h"
#include "action/start.h"

View File

@ -7,7 +7,7 @@
#pragma once
#include <dawn/dawn.h>
#include "../../../display/primitive.h"
#include "../../display/primitive.h"
#define POKER_TABLE_NAME "Poker Table"
#define POKER_TABLE_VERTICE_COUNT 252

View File

@ -7,11 +7,11 @@
#pragma once
#include <dawn/dawn.h>
#include "../../../file/asset.h"
#include "../../../display/shader.h"
#include "../../../display/primitive.h"
#include "../../../display/primitives/quad.h"
#include "../../../display/tileset.h"
#include "../../file/asset.h"
#include "../../display/shader.h"
#include "../../display/primitive.h"
#include "../../display/primitives/quad.h"
#include "../../display/tileset.h"
/**
* Initializes the Card Renderer.

View File

@ -7,11 +7,11 @@
#pragma once
#include <dawn/dawn.h>
#include "../../../display/shader.h"
#include "../../../display/primitive.h"
#include "../../../display/primitives/quad.h"
#include "../../../display/framebuffer.h"
#include "../../../display/camera.h"
#include "../../display/shader.h"
#include "../../display/primitive.h"
#include "../../display/primitives/quad.h"
#include "../../display/framebuffer.h"
#include "../../display/camera.h"
/**
* Initializes the frame buffers to be rendered to later.

View File

@ -7,15 +7,15 @@
#pragma once
#include <dawn/dawn.h>
#include "../../../display/shader.h"
#include "../../../display/primitive.h"
#include "../../../display/primitives/quad.h"
#include "../../../display/spritebatch.h"
#include "../../../display/gui/font.h"
#include "../../../display/framebuffer.h"
#include "../../../display/camera.h"
#include "../../../display/primitives/cube.h"
#include "../../../display/tileset.h"
#include "../../display/shader.h"
#include "../../display/primitive.h"
#include "../../display/primitives/quad.h"
#include "../../display/spritebatch.h"
#include "../../display/gui/font.h"
#include "../../display/framebuffer.h"
#include "../../display/camera.h"
#include "../../display/primitives/cube.h"
#include "../../display/tileset.h"
#include "../model/pokertable.h"
#include "player.h"

View File

@ -6,7 +6,7 @@
*/
#include <dawn/dawn.h>
#include "../../../display/camera.h"
#include "../../display/camera.h"
/**
* Look at a specific seat

View File

@ -7,9 +7,9 @@
#pragma once
#include <dawn/dawn.h>
#include "../../../display/shader.h"
#include "../../../display/primitive.h"
#include "../../../display/primitives/quad.h"
#include "../../display/shader.h"
#include "../../display/primitive.h"
#include "../../display/primitives/quad.h"
/**
* Initializes the player renderer.

View File

@ -7,9 +7,9 @@
#pragma once
#include <dawn/dawn.h>
#include "../../../display/shader.h"
#include "../../../display/primitive.h"
#include "../../../file/asset.h"
#include "../../display/shader.h"
#include "../../display/primitive.h"
#include "../../file/asset.h"
#include "../model/pokertable.h"
/**

View File

@ -11,7 +11,7 @@
#include "../display/shader.h"
#include "../file/asset.h"
#include "../input/input.h"
#include "../card/poker/holdemgame.h"
#include "../card/holdemgame.h"
#include "../debug/log.h"
/**