https://github.com/orderandch4os/python-rummy
Python Rummy
https://github.com/orderandch4os/python-rummy
card-game cards cs50x game oop player python python-rummy rummy score
Last synced: 3 months ago
JSON representation
Python Rummy
- Host: GitHub
- URL: https://github.com/orderandch4os/python-rummy
- Owner: OrderAndCh4oS
- License: mit
- Created: 2016-09-25T19:45:36.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2023-05-03T16:00:47.000Z (over 2 years ago)
- Last Synced: 2025-07-21T04:41:10.438Z (4 months ago)
- Topics: card-game, cards, cs50x, game, oop, player, python, python-rummy, rummy, score
- Language: Python
- Homepage:
- Size: 7.56 MB
- Stars: 27
- Watchers: 5
- Forks: 13
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Command Line Rummy in Python 3
This is a one to four player command line version of the card game Rummy.
Play against friends or AI
## Installation
`pip install rummy`
## Demo

## Usage
Run `rummy` in terminal
Select number of players then the number of AI opponents
## Rules
Players must make melds of three or more cards _eg_ A♠ 2♠ 3♠ or 4♠ 4♥ 4♣
Unmelded cards score points as follows:
A = 1, J = 11, Q = 12, K = 13, number cards = face value
Players may knock once their hand is worth less than 10 points
Each other player then has one last turn before the round ends
At the end of each round players add their scores to their game total
The game ends once a player reaches 100 or more
The winner is the player with the lowest score
### This project was created for EDx CS50 Final Project 2016
Final CS50 project video:
