Commit Graph

12 Commits

Author SHA1 Message Date
Paul Harrison abd36240e3 feat: Add hand cache 2023-05-16 19:20:58 +01:00
Paul Harrison 19ba2375a7 fix: Typo. 2023-05-16 19:16:43 +01:00
Paul Harrison 9baafc80ed feat: Hand ranking API
Hand ranking API with a health check root endpoint and rank endpoint.
2022-12-15 16:02:14 +00:00
Paul Harrison b4ba284dcc feat: Construct ranked hand with description
Refactors rank test functions to retern details required for
description, then return RankedHand from rank_hand function.
2022-12-15 16:02:14 +00:00
Paul Harrison d924e39608 feat: Get hand rank
Method to get rank of a given hand.
2022-12-15 16:02:14 +00:00
Paul Harrison 5393e7b799 chore: Validate hand length 2022-12-15 16:02:14 +00:00
Paul Harrison 6be02c447d feat: Ensure hand comprises unique cards 2022-12-15 16:02:14 +00:00
Paul Harrison c337984965 fix: Suit enum definition 2022-12-15 16:02:14 +00:00
Paul Harrison f0af94aa41 chore: Add helpful make commands and run linting 2022-12-15 16:02:14 +00:00
Paul Harrison adb149e858 feat: Implement card and hand domain models 2022-12-15 16:02:14 +00:00
Paul Harrison 5efd77728d feat: Implement auto-naming string enum 2022-12-15 16:02:14 +00:00
Paul Harrison 3899da2f52 chore: Initial project setup 2022-12-15 16:02:01 +00:00