1. BjOdds.exe - High-Power Odds Calculator, Hands Generating Software for BlackJack
Published by Ion Saliu on August 19, 2010
There are two plans, in fairness to the already-registered members of this web site.
• Plan A: 20% discount is offered to each member with Permanent membership; final fee = US$79.99; product ID: BjOddsMember.
• Plan B: Non-members pay the fee in full = US$99.99; product ID: BjOddsNew. The fee does NOT entitle to the software, source code, and results available to Permanent membership. Obviously, membership has its privileges … it makes sense to apply first for Permanent membership!
First, you must register specifically for this blackjack software package, according to the two plans presented above. If you do not have Permanent membership and try to take advantage of the discount, you will not be able to register. The membership system does blacklist users who attempt too many times an illegitimate operation.
You can read also a new webpage that presents useful information on the so-called Command Prompt introduced in Windows 2000 and subsequent versions of the Windows operating system.
Please read also the mathematical analysis of the new methodology of calculating the blackjack Dealer's bust odds:
You can download BjOdds.exe by clicking the following link:
A visual presentation of the BjOdds software follows. It can't be more intuitive and informative, especially given the intellectual level of the potential buyers!
This blackjack package does not need installation, if you downloaded BjOdds.exe to a folder on your hard drive; e.g.: C:\BJOdds
The best method is to go to the 'Command Prompt' (Windows 2000 and later). Create a directory (folder); e.g. C:\BjOdds. You can do that in Windows Explorer as well. Download BjOdds.EXE to C:\BjOdds. Click on BjOdds.EXE to decompress the file automatically.
To begin, navigate to the C:\BJOdds folder and click on BjMenu.exe. If you right-click on BjMenu.exe you can create a shortcut on your desktop.
For the best results, work at the Command Prompt in C:\BjOdds. Navigate to the C:\BJOdds folder in a Command Prompt and type at the C:\BJOdds prompt:
BjMenu
This is the recommended method as speed of execution is gained.
Let's stay in the GUI for a little longer. We need to create a few useful batch files to make the command prompt environment even more productive. Simply open that unheralded Notepad.
The batch files must be in text format (plain vanilla formatting for computer files). I have this batch file named MA.BAT (MA indicates macros). Instead of typing, you can copy and paste the following lines (without any blank line):
PATH C:\;C:\BAT\;C:\BAS\;C:\LOTTERY\;%PATH% is the most important line in the batch file. The PATH was set via the AUTOEXEC.BAT prior to Windows 2000. Now, AUTOEXEC.BAT is no longer available to the
computer user. Instead, Windows establishes the PATH automatically; it is the value %PATH%. Our batch files just adds more entries to the automatic Windows %PATH%. You can add your own folders in the
main line of the batch file MA.BAT. For example: C:\BRIGHT3\;C:\BRIGHT6\; etc. But remember the \ and the ; separator.
Any time you start a command prompt session, you type MA (or ma) at the C: prompt. The batch file has also useful shortcuts created for the DOSKEY utility (automatically loaded by Windows).
For example, the great utility PermuteCombine.EXE (generator of permutations, combinations and more) resides in a BAS folder. I just type per to start the application.
Save it as MA.BAT (at the C:\ prompt). Save the file in Notepad (you may need sometimes to surround the name by “ “ to be sure it saves a text file with the BAT extension): Name: "MA.BAT" in drive C: (root directory); Save as type: All files; Encoding: ANSI.
Copy and paste now an example batch file to abbreviate the start of the BjOdds package. Again, simply copy and paste the 4 lines:
Save this file in Notepad as BJ.BAT, but this time in the C:\BAT\ folder. The REM command does one thing only: Disables the DOS command that follows it; that is, the rest of the line will have no effect.
You can create similar batch files for Bright6 (L6), or any other LotWon software package. After you start the Command Prompt session, type ma (and press Enter); then type bj (and press Enter); you will navigate automatically to the C:\BjOdds\ folder.
You can navigate anywhere at the command prompt by using the CD command (Change Directory). For example, you are at the C: prompt. If you want to navigate to C:\BjOdds\, type:
cd\BjOdds
If you want to go back to the root directory C:\ from C:\BjOdds\ type:
CD\
@ECHO OFF
PATH C:\;C:\BAT\;C:\BAS\;C:\LOTTERY\;%PATH%
doskey co=copy $1 $2
doskey d=dir /O:N /P
REM doskey da=dir A: /O:N /P
doskey dc=dir C: /O:N /P
doskey dh=dir H: /O:N /P
REM doskey de=dir E: /O:N /P
REM The following, re, is a replace utility
doskey re=xcopy $1 $2 /D /U /Y
doskey bk=attrib +A $1$Txcopy $1 $2 /M /-Y
doskey xc=xcopy $1 $2 /M /-Y
doskey x=exit
REM doskey bcg=bellcurvegenerator
REM doskey per=cd\$Tcd\bas$TPermuteCombine.exe
REM doskey lex=cd\$Tcd\bas$TLexicographicSets.exe
REM doskey sf=cd\$Tcd\bas$TSuperFormula.exe
REM doskey fl=C:\bas\filelines.exe
REM doskey bp=C:\bas\BirthdayParadox.exe
REM doskey col=C:\bas\Collisions.exe
REM doskey osp=C:\bas\OccupancySaliuParadox.exe
@ECHO OFF
CLS
C:
CD\BjOdds
BJMenu
Please be mindful that generating all possible blackjack hands as ARRANGEMENTS might not be possible with write-to-disk enabled. Both BjDeck1.TXT (52 cards) and BjDeck2.TXT (48) will need output files in excess of 10 gigabytes!!! You have to comment out the source code: BjDealerOrder.bas. You do that by replacing all PRINT #3 statements by 'PRINT #3 (' is the comment symbol in PowerBasic).
Of course, if you can convert the source code to a 64-bit compiler that creates 64-bit EXE files that run in a 64-bit operating system (e.g. Windows 7) -- hey, you are luckier than most programmers!
The source code was compiled with: PowerBasic Console Compiler (PBCC), version 4.04. Older or newer versions of PBCC may or may not work with the source code in this package without modifications.
You, the programmer, assume full responsibility for such tasks.
The source code is adequately commented for the average programmer. You should be at least an average programmer who worked with PBCC for around five years.
There is NO programming support offered whatsoever. If your programming language is different, you need help from PBCC programmers to translate my source code to your programming language of choice.
The files in this package - BjOdds.exe:
2. BjDealerOrder.exe
generates all possible blackjack hands as ARRANGEMENTS.
source code: BjDealerOrder.bas.
3. BjMenu.exe
the menuing of this blackjack software package
source code: BjMenu.bas.
4. BjDeck1.TXT
a layout file consisting of deck of cards (52),
arranged lexicographically from the 4 2's to the 4 Aces (11).
5. BjDeck2.TXT
a layout file consisting of deck of cards (48),
arranged lexicographically from the 4 2's to the 4 Aces (11);
*** this deck has only 12 Ten-value cards (Double-Attack or DABJ).
6. BjDeck1-11.TXT
a layout file consisting of deck of cards (13),
with only one suit for each card (from one 2 to one Ace).
7. BjDeck4-11.TXT
a layout file consisting of deck of cards (16),
with only one suit for each card (from one 2 to FOUR Aces).
8. BjDeck1Shuf.TXT
a layout file consisting of deck of 52 cards, by shuffling
the regular BjDeck1.TXT deck of cards.
9. BjDeck1Rev.TXT
a layout file consisting of deck of 52 cards, by reversing
the regular BjDeck1.TXT deck: from Aces to 2's.
10. BjAllHands1Combos.TXT
all possible blackjack hands generated by BjDeck1.TXT
as COMBINATIONS.
11. BjAllHands2Combos.TXT
all possible blackjack hands generated by BjDeck2.TXT
as COMBINATIONS (for Double Attack Blackjack).
12. BjAllHands1-11Ord.TXT
all possible blackjack hands generated by BjDeck1-11.TXT
as ARRANGEMENTS.
13. BjAllHands4-11Ord.TXT
all possible blackjack hands generated by BjDeck4-11.TXT
as ARRANGEMENTS.
14. EULA-Saliu-Software.pdf
END-USER LICENSE AGREEMENT accompanying Ion Saliu's software
-- the document PDF format to be viewed in the free Adobe Reader.
15. EULA-Saliu-Software.htm
END-USER LICENSE AGREEMENT accompanying Ion Saliu's software
-- the HTML file to be viewed in a browser, such as Internet Explorer 8.
* I highly recommend that you do the following. Put together all the information I made available in one file. Copy and paste everything in one file. Then, edit that file, using your own words. That would be the best way to use my software, systems, and strategies.
* Read also the accompanying file README.TXT.
Best of luck!
1. BjDealerCombos.exe
generates all possible blackjack hands as COMBINATIONS
source code: BjDealerCombos.bas.
VI. Additional Resources in Blackjack
See a comprehensive directory of the pages and materials on the subject of blackjack, baccarat, software, systems, and basic strategy.