Aryadev Chavali
|
591944b88e
|
classifier:classify: use a stack allocated array for new_cards
|
2026-04-01 06:20:22 +01:00 |
|
Aryadev Chavali
|
92348bc2c3
|
classifier: move hand types to their own module
|
2026-04-01 06:20:22 +01:00 |
|
Aryadev Chavali
|
04c39d4bae
|
classifier: refactor for cleanliness
|
2026-04-01 06:20:22 +01:00 |
|
Aryadev Chavali
|
14d66cf171
|
classifier: permit loop-around straights
Our classifier now permits straights like (A(S), 2(D), 3(C), 4(S),
5(H)).
|
2026-04-01 06:20:22 +01:00 |
|
Aryadev Chavali
|
dd0011d1f2
|
card|classifier: young clippy up in this mf
|
2026-04-01 06:20:22 +01:00 |
|
Aryadev Chavali
|
ee6f9c7140
|
classifier: extract PokerType classifier from classify_poker_hand
|
2026-04-01 06:20:22 +01:00 |
|
Aryadev Chavali
|
42a7c27c41
|
classifier: naming refactor
|
2026-04-01 06:20:22 +01:00 |
|
Aryadev Chavali
|
2d5193c69e
|
classifier: todo on consecutive_ranks regarding loop-around straights
|
2026-04-01 06:20:22 +01:00 |
|
Aryadev Chavali
|
8c8e030071
|
classifier: display method for Hand
|
2026-04-01 06:20:22 +01:00 |
|
Aryadev Chavali
|
839bb9375c
|
classifier: jokers in between cards can make straights
|
2026-04-01 06:20:22 +01:00 |
|
Aryadev Chavali
|
be7ea8ba24
|
card: implement display methods for rank, suit, card
|
2026-04-01 06:20:22 +01:00 |
|
Aryadev Chavali
|
160500d969
|
classifier: first stage poker hand classifier
|
2026-04-01 06:20:22 +01:00 |
|
Aryadev Chavali
|
a774e3380c
|
classifier: WIP Hand API with classifier for all round types
Currently working on the poker hand classifier.
|
2026-04-01 06:20:22 +01:00 |
|
Aryadev Chavali
|
b66c1c7706
|
card: add rank and suit destructors
They're Option since card may be a joker, but this is supremely
helpful.
|
2026-04-01 06:20:22 +01:00 |
|
Aryadev Chavali
|
dfc5761246
|
card: make Card::PlayingCard variant struct-like for more clarity.
|
2026-04-01 06:20:22 +01:00 |
|
Aryadev Chavali
|
7009d14965
|
derive partialeq for rank and suit (obvious impl)
|
2026-04-01 06:20:22 +01:00 |
|
Aryadev Chavali
|
cea30e0173
|
rustfmt: the only rule that matters
|
2026-04-01 06:20:22 +01:00 |
|
Aryadev Chavali
|
7f2b950602
|
added an issue tracking document
|
2026-04-01 06:20:22 +01:00 |
|
Aryadev Chavali
|
3259448dca
|
card: a sufficient API for cards
The mathematical result that underpins this is a bijective map between
the positive integers and a unique playing card.
|
2026-04-01 06:20:22 +01:00 |
|
Aryadev Chavali
|
f112f9ed0c
|
cleanup gitignore
|
2026-04-01 06:20:22 +01:00 |
|
Aryadev Chavali
|
520311cf9c
|
Hello, world!
|
2026-03-31 15:31:36 +01:00 |
|