findmory / poker

React poker game

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:JavaScript 98.2%Language:HTML 1.2%Language:CSS 0.5%