Minor bug fixing, added blinds round

This commit is contained in:
2021-07-29 08:00:26 -07:00
parent ddf4bcdeaf
commit 6a666b64ca
9 changed files with 69 additions and 9 deletions

View File

@ -19,14 +19,20 @@ bool pokerGameInit(game_t *game) {
// Prep the VN Conversation Engine.
vnSceneInit(&pokerGame->scene, &pokerGame->assets.font);
vnConversationTalk(&pokerGame->scene.conversation, "Start Match", NULL);
vnConversationTalk(&pokerGame->scene.conversation, "LOTS AND LOTS AND LOTS AND LOTS AND LOTS AND LOTS AND LOTS AND LOTS", NULL);
pokerActionMatchAdd(&pokerGame->scene.conversation.actionQueue, &pokerGame->poker);
vnConversationTalk(&pokerGame->scene.conversation, "Start Round", NULL);
pokerActionRoundAdd(&pokerGame->scene.conversation.actionQueue, &pokerGame->poker);
vnConversationTalk(&pokerGame->scene.conversation, "Blinds Round", NULL);
pokerActionBlindsAdd(&pokerGame->scene.conversation.actionQueue, &pokerGame->poker);
vnConversationTalk(&pokerGame->scene.conversation, "Deal Round", NULL);
pokerActionDealAdd(&pokerGame->scene.conversation.actionQueue, &pokerGame->poker);
vnConversationTalk(&pokerGame->scene.conversation, "Betting Round", NULL);
// Betting round
vnConversationTalk(&pokerGame->scene.conversation, "Flop Round", NULL);
pokerActionFlopAdd(&pokerGame->scene.conversation.actionQueue, &pokerGame->poker);

View File

@ -16,6 +16,7 @@
#include "../../poker/actions/round.h"
#include "../../poker/actions/flop.h"
#include "../../poker/actions/deal.h"
#include "../../poker/actions/blinds.h"
/**
* Initializes the game state for the poker game.