General Discussion

I think we may have to redig the thoughts of purchasing that new sim. I don't mind donating around $10 or so.
 
Any progress being made at the moment? Just that with no real interaction between the sim workers as far as I can see, I wonder if anything is actually going on.
I'm back in Mumbai and will begin working on it later today. May just make this an individual project since it's kinda hard to coordinate.
 
I think we may have to redig the thoughts of purchasing that new sim. I don't mind donating around $10 or so.
Which sim is that?

aus5892 added 0 Minutes and 30 Seconds later...

I'm back in Mumbai and will begin working on it later today. May just make this an individual project since it's kinda hard to coordinate.
Sounds a bit sensible to me, if you need help you can use other people but I think the best thing to do is to have an initial crack yourself.
 
I have worked on it a bit. Most of the backend code is done. I am working on associations now (relationships between objects such as player-team, match-team, etc.).
 
An update. I've worked on the associations between objects and now am more or less ready to start coding the simulation engine after planning out how the scores/commentary is going to work. For anyone familiar with coding, I'm thinking of a listener framework where listeners such as a Commentary listener or a Scorecard listener register as listeners on the match engine, which then gives them ball-by-ball updates.
 
Sounds fantastic in the sense that something is happening. Keep it up sohum. If you successfully complete this, you'll be a living legend at PC. Isn't that what we all aspire to be?
 
Sounds fantastic in the sense that something is happening. Keep it up sohum. If you successfully complete this, you'll be a living legend at PC. Isn't that what we all aspire to be?
I am already that. This would push me up into immortality. ;)

I'm just trying to think about how to store the scorecard, now, but I should be beginning work on the actual simulator today as long as I am not lazy enough to get up from this chair and go turn the light on. :D
 
So I've done a lot more work. Theoretically I've got scorecards and the like working but I haven't really tested the database connections. I've also come up with a way to have an infinite number of things get information about a match through the listener framework.

What I'm visualizing is as follows:

SimulationEngine
This object gets a match object and loads up Player details as well as Tournament details (for smarter pacing and such) and starts simulating. Meanwhile, it has a set of registered "listeners" which it gives ball-by-ball updates to (who bowled to who, the pacing/aggression of the bowlers/batsmen, the outcome of the ball, etc.).

Scorecard
The scorecard object registers as a listener with the simulation engine object. Every time it gets the ball-by-ball update, it updates the scorecard. If the database is updated everytime, this would provide for a way of "live update" webpage similar to cricket management games.

CommentaryEngine
Similary, the commentary engine registers as listener with the simulation engine object to get ball-by-ball updates. The commentary engine gets information about the players involved and the match situation and hopefully generates insightful commentary.

I've got the notification thing theoretically working, now need to get the important part started (the sim engine!). Luckily, since the player ratings are simple (each player has a Batting, Bowling, Keeping rating as well as a set of special qualities--which I am yet to come up with) unlike Indian Cricket Career, where there were 12-15 different attributes in each of batting and bowling!
 
I am excited to read the updates in the thread you have made Sohum. I'm looking foward to the results of the Twenty20 games you simulate :)
 
I believe there should be experience points' system. It'll be wonderful!
 
How is everything going sohum? Unfortunately I've not had much time to work on the commentary (meaning I have only done two lines) but if the sim itself is going well then that's good news.
 

Users who are viewing this thread

Top