Skip to content

Latest commit

 

History

124 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Texas Hold'em poker

Texas Hold'em poker is easy terminal game written in Python for educational purposes.

Table of contents

Introduction

Simple Poker game you can play in terminal or cmd prompt.

Installation

Program is written ins Python 3.x. Here is the easy process to download and play the game

$git clone https://github.com/davidus27/pokerGame
$cd pokerGame/game
$python3 main.py

Linux

For easier playing in terminal you just need to give the script permissions to execute:

$cd pokerGame
$chmod +x game/main.py

now you can create alias in your .bashrc file

alias name='path-to-the-program/pokerGame/game/main.py'

Windows

If you are using Windows and want the .exe file you just need to install requirements $pip3 install -r requirements.txt and create executable file

$pyinstaller game/main.py

Rules

It is very easy to play. After the start the game will ask questions for creation of your character. On the first round your balance (money) and cards should be on the screen and you can play the game by navigating through the numbers.

Testing

TODO

TODO

  • Beta version of the game released
  • Refactoring the codebase
  • Working detection system of the hand values of individual players
  • Ante binding for begining of the game
  • Basic bots playing against the player
  • Unit testing
  • More advanced bots calculating strategy
  • Fixing wrong calculations of high cards
  • Changing order of players each round
  • basic GUI options
  • saving the game progress over time

License

This project is licensed under the GNU General Public License - see the LICENSE file for details.

About

Texas Hold'em poker in terminal

Topics

Resources

Stars

16 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages