Skip to content

yldzufukk/Poker-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Play Poker

Setup

cd into /home/coder/project and run source /home/coder/venv/bin/activate

Instructions

Main goal is to learn to build real-world simulations using command-line tools. If you run the --help option you will see the follow methods available.


  A poker hand simulator

Options:
  --help  Show this message and exit.

Commands:
  deal         Deal a hand of cards
  info         Displays all possible winning hands with examples
  interactive  Play a hand of poker against the computer with a bet
  play         Play a hand of poker against the computer with a bet

Tasks

  1. Investigate tool operation:
  • Run each of the four commands with --help i.e. poker.py info --help.
  • Reflection Question: What did you learn about how to construct help commands for simulation tools?
  1. Explore the interactive commands and create a list of five improvements you could make to the interactive simulation to make it more realistic.

(Optional: Fork this repository and make your own improved version of the Poker simulator)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published