Code Monkey home page Code Monkey logo

blackjack's Introduction

README for Blackjack AI project
by Maria Nikolova, Maria Mateva, Deyan Doychev

This program is provided as is and comes with absolutely no warranty.
Use at your own risk!!!

=====================================================================

Contents:

1. Installation instructions
2. Usage

=====================================================================

1. Installation instructions:
-----------------------------
In order to use this program you need python version 2.6.
You need to install pysage: http://code.google.com/p/pysage .
The easiest way to do this is by running:
easyinstall pysage
It was implemented and tested using pysage version 2.5.2. Other
versions may also work but it is not guaranteed.

For the GUI you need wxPython version 2.8 but it is currently not
fully integrated.

=====================================================================

2. Usage
--------
The program currently runs 500 iterations of 100 games and summarizes
the result.
All games are played with 1 player against a dealer.

It takes up to two arguments:
	- the first argument specifies the type of the player that will
		play. It can be one of the following:
		- human - for human player
		- SARSA - for the SARSA player - the self-learning player
		- probability - for the Probability AI player
		- HiLo - for the card-counting player
		- basic - for the player using the basic strategy
	- the second argument is optional. If it is present or the player
		is a human player - the simple (console) UI is started and a
		better log about the game is outputted.
The game plays the iterations of hands and then summarizes the
results. It creates a file called statistics that contains a line for
each iteration - the number of games won by the player in these 100 
games.

blackjack's People

Contributors

dvd avatar miaaaooow avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

b-rich

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.