Skip to content

Validate Players and ML Models Moves inside Game Loop #22

@brezden

Description

@brezden

Now that the main loop is setup we will need to fix the cases for players making an appropriate move at a certain time. This is something that is not working for player controls or our ML model yet.

Here is an example:

- Player 1 goes All-in
- Player 2 has a turn

Player 2 must either go All-in to match or fold the cards.

Right now we are not validating this and the player can make whatever move he wants.

Parts of this ticket

  1. Player UI Controls will need to reflect the current state of the game at that moment (Check being disabled if he already checked etc...)
  2. Raises and Calls are not validating any amount right now. They need to match the other players bets
  3. Betting round checks are working so far but there are still cases we need to solve.

Metadata

Metadata

Labels

Type

No type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions