Giter Site home page Giter Site logo

blackjack-oop's People

Watchers

 avatar  avatar

blackjack-oop's Issues

Can add more CPU players

Can use same logic as dealer, or one of the betting tables, or Kelly criterion

new_table param: n_cpus = integer. It Generates their names. 

While watching two cpus slug it out seems boring, it’s like being at a real blackjack tables.

Mathjack

Euler has me thinking of a variant of blackjack where the cards aren’t dealt at random but based on a number series. If you can guess the pattern, you’ll have an advantage on guessing what card the dealer has face down. Simple patterns could change after a deck (Fibonacci series, multiples, prime numbers, evens/odds, Paul’s phone number). But more complex patterns that are harder to tease out could persist through a deck or all the decks in the shoe.

Career mode, banks, loan sharks

you start initially with an ante. if you lose it all, night is over. to come back another night, can get loans from bank. then when too negative, loan shark. then when too negative, concrete shoes. career over. or you can retire anytime. depending on how much career money you have, we see photo of your home and # of cars etc

Can add more human players

Multiple humans, separated by comma names. Code should already work, but need instructions for Input on comma.

Mobile

Website optimized for mobile

Betting and running scores across games

  • Resets at each session.
  • new_game: removes players with no $
  • Input bet on each hand
  • Ante from table min, which you can increase on any hand. 
  • player natural blackjack that isn't a push: win = 1.5 x bet

ASCII interface

Simple window-based interface instead of command line, like ASCII cards :D

Find a py lib for text based games. Settings screen etc.

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.