Of course! Here's a simplified version of the README in plain text format:
Welcome to the Python-Based Indian Poker (Teen Patti) Game repository! This project is a simple Python implementation of the popular card game Teen Patti. It compares two hands and declares the winner based on the Teen Patti hand ranks. Please note that this version focuses solely on hand comparison and doesn't include betting mechanics.
Indian Poker, also known as Teen Patti, is a card game played with a standard deck of 52 cards. The game involves betting and bluffing and is typically played with 3 to 6 players. Each player is dealt three cards, and the objective is to have the best possible hand based on the following ranks, from highest to lowest:
- Trail/Three of a Kind: Three cards of the same rank.
- Pure Sequence: Three consecutive cards of the same suit.
- Sequence/Normal Run: Three consecutive cards of different suits.
- Color/Flush: Three cards of the same suit.
- Pair: Two cards of the same rank, and the third card is unrelated.
- High Card: None of the above combinations.
This project's goal is to compare two hands and determine the winner based on these hand ranks.
-
Clone this repository to your local machine.
-
Navigate to the project directory.
-
Run the Python script using a compatible interpreter. For example:
python teen_patti_game.py
-
The script will compare the hands and announce the winner.
If you're interested in contributing, feel free to fork this repository and create a pull request. While this project is a simple demonstration of Teen Patti mechanics, you're welcome to suggest improvements, add features, or even work on betting mechanics.
This project is licensed under the MIT License.
Enjoy the world of Teen Patti and happy coding!