blob: 59a3c297a844c7e8ce3ebb1015cbe65bfbf9213a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
#+title: Tasks
#+author: Aryadev Chavali
#+date: 2025-02-15
* TODO Simulate the 3 rounds in a game
1) Initial betting after dealing cards
2) Re-deal
3) Final round of betting
We need to deal with folds in rounds (1) and (3).
** WIP MVP: Simulate without financing
** TODO Financing
Each game has:
+ Small and big blind
+ Betting based on largest bet on board
So we need to maintain a finance profile of every player to figure out
if they have enough to play the current round:
+ if start of round and one of the blinds, can they pay the blind?
+ if betting comes to them, do they have enough to at least match the
current bet?
+ if they raise, how much can they raise by?
Finally, we need to payout at the end of a round.
* TODO Make a poker bot
Simple metrics for a bot to consider:
+ Strength of initial hand
+ Chances of stronger hand on re-deal
+ Personal finance
Complex optional metrics:
+ Behaviours of other players:
+ Pot sizes
+ Behaviour on each round (do they go for every blind?)
|