| Surf| Previous Page| COMPUTER TOUR| Next Page| Welcome|
Duane and Eva's Old Kentucky Book Store
Recent Internet Stories from CNN News.
Computer Taglines - a little computer humorMost of these programs are described here and some of them will be available for download as freeware or, in some cases, shareware. Probably, eventually, those titles written in BOLDFACE will be available for download. Please let me know if you want a particular boldface program. That may encourage me to get it on the site sooner.
NAME=YOUR NAME HERE PN=100000 principal IN=.07 annual interest rate YRS=30 term of loan in years PPY=12 payments per year DA=08/05/10 date of loanThe program uses the data from that file to create another text file in the same directory. That output text file is named "loan.txt". It gives information about the loan including payment amounts for various interest rates and terms of loan and an amortization schedule.
To use a schedule of payments already made, create a text file
called "payments.txt" in the same directory"
as this program. This file should have the date of payment in the left
column followed by one or more spaces and the amount of the payment.
example: 07/01/10 1500.94
Show all the payments that have been made on this loan, one per line.
This program will then create a text file named "balances.txt" in the same directory showing balances remaining after each payment.
The first file, GLOBALxx.std, sets the type of stud poker including number of cards (5 to 9) and whether each card is to be up or down, whether it is to be personal or common, and whether a betting interval will follow.
It also defines the names of the hands and the probability of folding based on card score for fold, keep, or best for pre flop betting by the computer opponents. It also can set a path for the players configuration file and set a test flag for debugging.
The name of the global configuration file can be changed by putting the path to a new configuration file on the command line when invoking the STUD program. In this way Texas Holdem can be changed to seven card stud or five card stud or any other valid possibility.
The second configuration file, specific for each human player by name, is named PLAYER.STD where PLAYER is the name of the player input by the human at the beginning of the program. The default name is PLAYER.
This configuration file keeps the names of the players in the game, their stack size and the number of hands they have won. It keeps count of the number of hands played and sets the maximum number of hands before stack and hand counts are reset.
It defines whether hints to computers opponent's hands are to be given and in how much detail (0, or 4-9), the size of the big blind, and the ante. It also defines by means of three constants the circumstances and probability that a computer opponent will raise or fold.
The screen also shows the number of cards to be dealt for the hand and the maximum hint number for the hand. Before the flop the screen shows a hint number up to the maximum for each computer opponent based on the strength of his hand. After the flop that column shows the total bet by that opponent, which is the amount at risk if he loses the hand.
I realized that these algorithms could also be useful to use the computer to play simulated Holdem games and analyse the results. So I set up a program to do so. I set it to deal about 1,000,000 hands and analyse the results. These could be set for any number of players at the table. I ran the program once each for player numbers from 2 through 9. That meant that the program dealt and analysed 1,000,000 hands eight times.
Give your Windows '95/98 desktop a new look!
Clouds.
Last revised September 9, 2010.
URL: http://www.kyphilom.com/www/duanecom.html
Go to Top Menu.. ..of Duane & Eva's Old Kentucky Home Page
Duane Bristow (oldky@kyphilom.com)
All contents copyright (C) 2010, Duane Bristow. All rights reserved.