This project is a genetic algorithm engine able to be reused for other projects with minimal additional programming. The genetic algorithm engine currently plays many blackjack hands for the fitness function and produces a result similar to blackjack basic strategy. To see it in action, download the zip file and run either:

GABlackjack_Demo.exe     (quick)   or
GABlackjack_Long.exe       (slow, but it achieves better results).

The code was written in C++, using MS Visual Studio 6.0 and MS Visual Source Safe 6.0. The genetic algorithm engine supports various mutation rates, ranked parental selection, stochastic sampling parental selection, cyclic crossover, crossover at each gene, cloning the best individual each generation, and creating random individuals each generation. To use the genetic algorithm engine to search for a different problem's solution, one needs to program a fitness function, the project settings, and a few virtual functions.

Project Activity

See All Activity >

License

MIT License

Follow Genetic Algorithms Engine - Blackjack

Genetic Algorithms Engine - Blackjack Web Site

Other Useful Business Software
Auth for GenAI | Auth0 Icon
Auth for GenAI | Auth0

Enable AI agents to securely access tools, workflows, and data with fine-grained control and just a few lines of code.

Easily implement secure login experiences for AI Agents - from interactive chatbots to background workers with Auth0. Auth for GenAI is now available in Developer Preview
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Genetic Algorithms Engine - Blackjack!

Additional Project Details

Operating Systems

Windows

Languages

English

Intended Audience

Developers

Programming Language

C++

Related Categories

C++ Genetic Algorithms, C++ Machine Learning Software

Registered

2003-05-02