Skip to content

Latest commit

 

History

History
133 lines (89 loc) · 2.77 KB

README.md

File metadata and controls

133 lines (89 loc) · 2.77 KB

All-in (Poker / BlackJack helper)

The goal of the project is to help poker and blackjack players giving them more information about their probabilities.

Goals

  • Speech recognition (in french)
  • Need to have a graphical interface
  • Need to provide as many statistics as possible
  • Poker and blakjack support
  • The result need to be clear for the user even if the algorithm is complex

Requirements

  • Python 3.7+

  • Tkinter

  • Pyaudio

  • pygame~=1.9.6

  • SpeechRecognition~=3.8.1

How to install Tkinter & Pyaudio (linux) :

sudo apt-get install python3-tk
sudo apt-get install python-pyaudio

or

sudo dnf install python3-tkinter
sudo dnf install python-pyaudio

How to install all the requirements (except Tkinter & Pyaudio):

pip3 install -r requirements.txt

Usage

Important : When the program is launched, it chooses the default microphone (make sure your microphone is set correctly before launching All_in.py)

./All-In.py

Poker

Speech recognition

Text to say Action
"J'ai" or "Preflop" + (card) + (card) I have (card)
"Flop" + (card) + (card) + (card) Gives the 3 first cards
"Turn" + (card) Give the 4th card
"River" + (card) Give the last card
"Recommence" + (card) Restart a round
"Remise à zéro" + (card) Restart all (card mix)
Example of card "Trois de carreau" or "Trois"

Exemple of one round (stopped at the turn) :

"J'ai trois de coeur et roi de trefle"

"flop valet de pique et quatre de coeur et cinq de coeur"

Blackjack

Traduction :

French English
Paire Pair
Deux Paires Two pair
Brelan Three of a kind
Carré Four of a kind
Couleur Flush
Suite Straight

BlackJack

Speech recognition

Text to say Action
"J'ai" or "Moi" + (card) I have (card)
"Autre" + (card) Other player has (card)
"Croupier" + (card) The dealer has (card)
"Recommence" + (card) Restart a round
"Remise à zéro" + (card) Restart all (card mix)
Example of card "Trois de carreau" or "Trois"
No need to specify the color of the card

Exemple of one round :

"J'ai un trois de coeur"

"Autre as"

"J'ai une dame"

"Autre deux"

"Croupier valet"

Blackjack

Traduction :

French English
... waiting
Stop Stop
Split Split
Tire Draw
Double Double

Tests

.
├ log.html               # Logs there
├ report.html            # Tests result here
└ README.md

Authors