Skip to content

Created a single-player virtual game of rummy in python using PyGame library. The game has 3 difficulty modes

Notifications You must be signed in to change notification settings

yatharthtaneja/Rummy-using-Pygame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

INDIAN RUMMY BY YATHARTH TANEJA 2019346 IIITD HOW TO PLAY :

  1. when you start pygame you will be promt to play (click to play )
  2. select difficulty level of game
  3. once game has started both the com and the player will get 13 cards
  4. player cards are placed space seperated after every 3 and final set of 4
  5. use click to swap two cards once you click one card it gets selected the moment you click the second card it gets swaped. 6.on the deck there will be two cards too one upside down and one unfolded
  6. you can swap unfolded card with your dec of cards
  7. or you can unfold the unfold card by clicking on the facedown card
  8. there is a pass button if you dont feel like picking a card from the deck you can click the pass button and the com will take his turn
  9. since the gui set as per the required demand 3 set of 3 cards and 1 set of 4
  10. when you complete one set it will prompt the particular set is complete or not
  11. a set is considered complete when you have made a sequence or a run a sequence is cards of consecutive rank with same suit queen king ace all three of hearts is a valid set a run is considered as card of same rank eg. ace of hearts ace of spades ace of diamond will be considered a valid run
  12. once all your set on the deck are completed before the com user wins else com wins
  13. the gui is pretty simple you can hower over the card and the card lifts as you move cursor over the cards but to select you need to click on the card
  14. HAPPY PLAYING :) ###############################################################################

About

Created a single-player virtual game of rummy in python using PyGame library. The game has 3 difficulty modes

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages