Win logic revamp + small ui change

remove stick and bust
win logic now in a function and a lot less complex
This commit is contained in:
2024-04-11 20:57:18 +02:00
parent 4263a35b18
commit ef9bcabd32
4 changed files with 506 additions and 257 deletions

View File

@@ -42,6 +42,7 @@ public:
void playerTurn(void);
void computerTurn(void);
void reset(void);
int8_t calculate_winner(Player* player, Player* dealer);
private:
Ui::playWindow *ui;