Skip to content

Hopelezz/Card-Games

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Forks Stargazers Issues MIT License LinkedIn


Card Games

Games you can play against the computer.

Explore the docs »

View Demo · Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License
  7. Contact
  8. Acknowledgments

About The Project

Screenshot 2022-06-30 094949

You can view the demo on REPLIT!

I was working through the projects in a book called The Big Book of Small Python Projects. Landed on a bit of code called Blackjack. To challenge myself, decided to alter the code to break out things that could be reusable between different games. Talking with my son we came up with a game called War using similar concepts. To prove the game before even starting my girlfriend and I sat down and played a few rounds with an actual deck. We came to realize that based on the amount of your bets towards the end you could be close to wiping out your account. So we decided might be best to add a bonus payout.

Lessons Learned:

With War_Main.py I kept running into an issue where the Deck wasn't generating the Cards. This was a good leason on iterative loops. Found out that my "getDeck()" function wasn't outputting to proper values. To solve this I had to breakdown the loop

(back to top)

Built With

(back to top)

Roadmap

Optimizations:

  • Added a Deck Module to use between different games.
  • Added Score Win/Lose ratio
  • Added rounds, when rounds hit 26 (Half of a deck) Based on the W/L ratio it'll award you a bonus payout.

Features:

  • Selection menu where the user can call up which game they'd wish to play.
  • Player profile that collects game stats.
  • Adding new games like Go Fish, Old Maid (Need to learn this game first), Poker 5-Card Draw, ect.

See the open issues for a full list of proposed features (and known issues).

(back to top)

License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)

Contact

Twitter: @Hopelezz1

GitHub: @Hopelezz

(back to top)

Acknowledgments

  • @Crutchcorn He suggested I add the Demo to a Repl for you try out

(back to top)

Releases

No releases published

Packages

No packages published

Languages