Giter VIP home page Giter VIP logo

blackjack21's Introduction

blackjack21


PyPI PyPI - Status PyPI - License

A complete package for creating a multiplayer blackjack table.

Features

  • No limit of Tables count.
  • No limit of players per table.
  • No limit of decks of cards being used for the table
  • Hit, Stand, Double Down, Split.

Installation

pip install blackjack21

Full documentation available at: blackjack21.rtfd.io/en/latest/

Examples:

blackjack21's People

Contributors

bbrewington avatar rahul-nanwani avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

bbrewington

blackjack21's Issues

[FEATURE] Players should "see" dealer's first card that's face-up

Is your feature request related to a problem? Please describe.

In Blackjack, players get to see the dealer's first card, which affects decision-making (plays into risk levels of cards player has in hand). Currently, the setup is for players & dealer to play completely independently, then compare results to determine win.

Describe the solution you'd like

When player making decisions (hit, stand, etc), they can see dealer's first card

Could just have dealer play before players and only show results to players after they play their hand. Need to consider, though, if there are any "naturals" (i.e. blackjack or 21)

The way I understand the game flow is shown in screenshot in "Additional Context" below. Flow chart I created from info here: https://bicyclecards.com/how-to-play/blackjack/

Describe alternatives you've considered

Rahul's initial suggestion from our conversation:

after initialising the Table you can use dealer.hand property which will return a list of the cards of the dealer and then you can continue with the players’ choices.

Additional context

Screen Shot 2022-10-02 at 3 04 17 PM

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.