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

You Might Also Like
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
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