Updated 11 Jul 2005
"Blackjack 5.1" is a BlackJack card game for MATLAB. This is a very basic (head-on) Blackjack game with six decks of cards. You cannot split pairs (maybe in the future) in this game, but you can double up and make insurance bets.
You can check the current running and true card count (balanced counting system) in the chip selection dialg to see when it is time to bet high or low.
This game requires the Playing Cards Toolbox FileId: 7963.
Next version will probably enable the player to split. Any feedback about this game is very welcome.
Developed in Matlab 5.1.
also check: http://www.etek.chalmers.se/~e8rasmus/eng/matlab_programs.html
Rasmus Anthin (2023). blackjack.m (https://www.mathworks.com/matlabcentral/fileexchange/3846-blackjack-m), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
- Gaming > Card games >
Inspired by: Trails, cardplot.m
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Wrong gameplay algorithm (wasn't really blackjack). Now it works as proper blackjack though splitting is not allowed (not yet).