GithubHelp home page GithubHelp logo

cezarmocan / flapjack Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aarya123/flapjack

0.0 2.0 0.0 97 KB

Better card counting strategies for Blackjack players

License: Apache License 2.0

Java 100.00%

flapjack's Introduction

FlapJack

Flapjack is a Java application developed during the Hacker Olympics 2013 final round together with a great team of 10 people. Its purpose is optimizing card counting strategies for blackjack players.

The GUI offers a (small for now) list of popular Vegas casinos that the user can pick (because different casinos have different variations of rules) and the game strategy that he wants to use:

  • Basic Strategy, which just tells you what to do for different configurations of the game (hit, stand, split or double), so basically no card counting involved (more info here: http://en.wikipedia.org/wiki/Blackjack#Basic_strategy)

  • Counting Strategy, which implements one of the classical counting strategies found on wikipedia (http://en.wikipedia.org/wiki/Card_counting#Blackjack)

  • Optimized Counting, which starts from one of the classical counting strategies and does a few millions iterations in order to find a better strategy that offers a positive expected value of winning

The user also selects the number of games that he wants the simulation to be ran on. (a bigger number of games is obviously a better estimate of the long-term behavior of the selected strategy).

After the simulation is ran, he can see the expected revenue after that number of games, a revenue vs number of games graph and the exact card-coefficient bijection that he has to use in order to achieve that performance.

flapjack's People

Contributors

aarya123 avatar jonathan-upstart avatar mackenzie-clark avatar

Watchers

James Cloos avatar Cezar Mocan avatar

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.