Building my own Cricket Manager

R

rasi

Guest
Hey guys, I am now working on a Cricket Manager game.

You could coach your players, sell/buy players, go on tour, etc.

I just completed the AI part of the match simulation. It is working marvellously, I mean, I am getting realistic scores.

I am planning to put in a huge database, including all the international and County teams. Each team will have 30 players to choose from, and if you select to play as england, you will have the entire list of county cricketers at your disposal for selection.

The game will have text commentary. If I do get enough time, I will implement the CM4 kind of graphics, you know, the dots and sounds.

I need some people to help me with the database part.

Also, there will be a forum team as well. :D :D
 
B) cool the forum team ,is good, and goodluck with all the other stuff :cheer: :thumbs:
 
If there is going to be a Forum team can I be in it?

Or do you mean you will add one of the old ones?
 
is it going to be a free download or do people have too pay for it?
 
What do u need done Iniyan I'll help you wit it. Add me to your MSN, I'll PM you my email address.
 
If you need some help in the graphic part (PM) me or add me to msn.
 
I am planning to put in a huge database, including all the international and County teams. Each team will have 30 players to choose from, and if you select to play as england, you will have the entire list of county cricketers at your disposal for selection.

Can you include Indian Domestic sides :rolleyes:
 
I can help if possible.
...and also don't forget for the forum team.
 
Originally posted by bharat_88@Mar 9 2004, 03:47 PM
Can you include Indian Domestic sides :rolleyes:
If you could help me with the db for India, yes.

The game will be a freeware.

As far as the forum team is concerned, I will put up a topic later where you can post your details.

And, for the graphical part, thanks, I am good at it. :D
 
Here's a brief description of the features.

The AI is simple and effective, it just needs a little bit of fine tuning of the constants. The basic idea is this.

The computer generates a random number, which on further manipulation with the batting_averages of the batting pair, the bowling_average and the economy of the bowler, with the combined fielding_factor of the 11 members in the fielding team, and the most important of all, the constants which are based on the playing conditions and the aggression of the batsmen, produces the result for every single delivery.

There are three modes for a batsman - defensive, normal and aggressive. Normal is the best way to go about, defensive means less runs and the chances of losing a wicket goes down, and aggressive is going for runs and also losing vital wickets. The number of wickets in hand plays a very important factor in the outcome of the next delivery.

I played a few games to check the AI, and I got these scores.

50 overs: dry pitch
*******************

293/4 , 231/9 , 338/2 , 301/5 , 289/6 , 316/2 , 311/1

50 overs: green pitch
*********************

233/5 , 241/3 , 200/10 , 217/8 , 251/2

The conclusion, lose less wickets, you will get more runs.

Alos the AI manipulates the aggression of the batsmen EACH BALL, taking in consideration the number of overs left and the number of wickets in hand, also the required rpo while chasing.

The next part to be completed will be the database part and the text commentary. I welcome some interesting quotes for the commentary along with the situation when it has to be said.

eg.: your team is struggling at 5 down, and the batsman plays an aggressive stroke to get out, and the commentator says something like "stupid cricket by the batsman...blah, blah".
 
For those who want to help me with the db.

For the database files, create a folder on the name of the team, and in each of the folder you will place two files on containing the squad of any number of players, and the other containing the starting eleven for the computer.

eg.:

Team Australia:

Create a folder called 'AUS'
Using notepad, create two files 'aus.cms' and 'aus.cml'

the aus.cms file is the entire squad.

It's contents should be in the following order.

batsman_name bat_ave strike_rate bowl_ave econ field

The batsman name can have spaces in between them, the fields must be separated by a single <TAB>.
Also, the averages, strike rate and economy must be rounded of to the nearest integer. You can rate the fielder as a percentage eg. 71. Be impartial and true in this aspect as this is the most crucial aspect affecting the result of the game. Actual averages and sconomy rates will make the game more realistic.

An example.

Adam Gilchrist 51 96 00 00 90
Andrew Symonds 46 92 30 05 91

The 'aus.cml' file is the starting eleven.

Put in just the player names in the lineup order. Please make sure that the names are spelt exactly the same way in both the files.

Eg.:

Adam Gilchrist
Matthew Hayden

Mail me the folders, to [email protected]
 
How many players per team i.e how many players in aus.cms and how many in 'aus.cml'
 
Originally posted by bharat_88@Mar 9 2004, 11:33 PM
How many players per team i.e how many players in aus.cms and how many in 'aus.cml'
Any number of players in the .cms files.

Eleven in the .cml files, this one is the starting lineup.
 
I'll try to do some .cml and cms files.

I'll send you one and tell me if it's right then i'll send more.
 

Users who are viewing this thread

Top