Skip to content

chmccc/poker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Functionality

Dealing

  • set proper card distribution at each game stage ✔️

Score checking

  • test & build score object creator for 5-card hands ✔️
  • test & build best score function for 7-card hands ✔️
  • determine winners between hands ✔️
  • determine winners based on kicker cards ✔️

Ability to fold

  • not scoring a folded player ✔️

Ability to bet

Ability to raise

AI strategy

  • when to fold
  • when to call
  • when to raise

Display and messaging

Display

  • show a tabletop with 4 positions and space for table cards ✔️
  • should show a "next stage" button initially ✔️
  • should highlight cards used in winning hand once round is over ✔️
  • show controls at the bottom right ✔️

Folding

  • fold button in control panel ✔️
  • game should continue until final stage until player folds ✔️
  • players who've folded should have their cards "greyed out"

Message window

  • should report the winner of a hand ✔️
  • should report when a hand was won by a high card ✔️

About

React poker game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published