cparmet / blackjack-oop Goto Github PK
View Code? Open in Web Editor NEWProject to get practice with object oriented programming.
Project to get practice with object oriented programming.
PC & CP web blackjack games can share career scores
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.
such as unit tests, pytest, nose
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.
PC & CP can play against each other live over the web
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
From Paul's code
And motivation for OOP
Multiple humans, separated by comma names. Code should already work, but need instructions for Input on comma.
Option to take insurance
Website optimized for mobile
Simple window-based interface instead of command line, like ASCII cards :D
Find a py lib for text based games. Settings screen etc.
If everyone has already busted, Dealer doesn't need to hit (and potentially bust).
Go through them all (no reshuffling)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.