An open API service indexing awesome lists of open source software.

https://github.com/khemtat/poker

Poker card game, written in python with unit testing for studying TDD methodology
https://github.com/khemtat/poker

poker-game python unit-testing

Last synced: 2 months ago
JSON representation

Poker card game, written in python with unit testing for studying TDD methodology

Awesome Lists containing this project

README

          

## Poker game (IT KMITL Project 2013)
### Authur
- Kittikorn Prasertsak (56070006)
- Khemtat Lengpaiboon (56070009)
- Tanawat Gajaseni (56070057)

### How to Play
--- Example the screen in game ---

==============Poker Start==============c
[+] Input number of players (1-5): 2 *
Player 1 -- input your card: TD JD QD KD AD *
Player 2 -- input your card: 8H 8H 8H 4S 4S *
==============Result==============
Player 1 have: Royal straight flush
Player 2 have: Full house
The Winner is player: 1

*Your input

1. You have to input number of players.
2. Input your card (str type)

Example : 2H 4S 5C 6D 7D
Let's describe our card(s). so, in that case, we will used '2H'

'2' is card rank and 'H' mean 'Heart' (poker symbol)

[+] The order of poker symbols:

"S"pades, "H"earts, "D"iamonds, "C"lubs.

3. Let's see who is win this game !