/pokergame

EPAi Session6 Poker Game

Primary LanguagePythonMIT LicenseMIT

Session6 : Poker Game

Objective

  • Write a single expression that includes lambda, zip and map functions to select create 52 cards in a deck - 50 pts

    • Write a normal function without using lambda, zip, and map function to create 52 cards in a deck - 50 pts
    • Write a function that, when given 2 sets of 3 or 4 or 5 cards (1 game can only have 3 cards with each player or 4 cards or 5 cards per player) (1 deck of cards only), (2 players only), can identify who won the game of poker (Links to an external site.)! - 150 pts
  • Basics

    • Proper readme file - 50 (if not there then 0)

    • Docstrings must, and it must mention what the function is doing (2, 3) - 50

    • Write annotations for 3 - 50 pts

    • Basics tests to ensure your code if correct (20+ combination tests (counted as 1 test) in 3, check 1/2 with a manual list of 52 cards. Overall 20 tests at minimum) - 200 pts

    • Submit Github link with all test files and github actions in place.

    • It implements these functions (with exactly the same names)

 

 

  • Write a test file, that tests all of the functions mentioned above + the other basic ones
  • Test file must contain at least 20 tests

 

Files


 

Test Cases Results

Serial No Test Case Result
1 README File Exists Pass
2 RREADME Words Counts Pass
3 README proper description Pass
4 RREADME Formatting Pass
5 Proper identation and PEP8 guidelines Pass
6 Function name not defined with capital letters Pass
7 test_docstring Pass
8 test_annotation Pass
9 test_created_cards Pass
10 test_winner_in_three_pair_card Pass
11 campare card from lambda with without lambda Pass
12 Cards Count 52 Pass