Introduction, Features and Updates

Status
Not open for further replies.
May 30 2009
Created a simple viewer for matches. Currently, you can add/create squads and play Twenty20 matches between them. It doesn't store statistics and it doesn't have any flashing commentary and thus far it doesn't store the result either (that should be done soon). It also doesn't create a scorecard item. But it will allow testers to load up two teams and play a game between them and view ball-by-ball updates.
 
May 31 2009
Worked on an installer and released a pre-beta to the PC staff team. Once any kinks have been figured out there, I will release it to the Cricsim teams and then finally to to the public. Hope to have scorecards and statistics in by the time that is done and work on the sim engine a bit more, apart from ironing out any bugs.

People who want to beta test the simulator can go ahead and get the .NET Framework 3.5SP1 as you will need that before you can install the simulator.
 
June 2 2009
Released a second beta to PC staff. Don't worry, a PCPL/PCCL staff beta is coming soon! The new beta tweaks a few settings of the engines as well as takes into account more information. The few steps left before releasing to PCPL/PCCL staff are:

1. Implement extras/free hit.
2. Tweak chasing pacing.
3. Implement a scorecard listener so that it can produce scorecards.
 
June 11 2009
I implemented the scorecard listener. Now need to write a UI to actually visualize the scorecard. Hopefully that won't be too complicated. Still need to implement 1 and 2 above. I will probably release to PCPL team before that, just to get test data done.
 
August 23 2009
I've finally got my dev environment set up and am somewhat moved in. Hopefully development should restart this week!
 
August 27 2009
Replaced my self-coded Listener-Notifier framework with the C# provided event handling framework. This is the first in two steps in trying to make the engine run in a separate thread, allowing ball-by-ball updates to be delivered to the UI.
 
August 29 2009
The simulator now runs in its own thread. After trying a million different things, I've finally got it doing its business separately, and the UI checks regularly (every second but I hope to make this parameterized) to print out any updates.

There is one bug right now, though, which is that the info I'm bundling in updates are references meaning if I run the simulation in one go, all that info (such as score, overs) is pointing to the latest stuff (i.e. the end of the innings).

Looks like I have two options: (1) completely duplicating the bundled info for every ball and thus taking a "snapshot" of the game at that point or (2) copying only the information I need manually. Difficult decision. :/
 
August 29 2009, Update 2
Made a few UI improvements and fixed the bug I described earlier. Basically now I can finally start working on the scorecard!
 
September 2 2009
Finally began working on the scorecard control. Should hopefully have a prototype up today or tomorrow.
 
September 3 2009
Did some more work on the scorecard. I'm going to hack out an in-memory scorecard implementation as a proof of concept and also as a demonstration (aka screenies!). The final plan, of course, is to have the scorecard go into the database and then display (or simultaneously...)
 
September 7 2009
A bit of punishment for me for not being more careful with my files. My hard drive ate up 3 of my 5 pacing files so I shall have to recreate them. :(
 
September 9 2009
Thought I'd give everyone a peek at the scorecards. These are running off real matches but they are being stored in memory. Hence these scorecards aren't outputted to the database anywhere, but hopefully I should be able to do that soon.

20090909_1_01.png

Live update scorecard just at the start of an India-Australia game.

20090909_1_02.png

Australia put up a fine total thanks to a Ponting classic.

20090909_1_03.png

Brilliant knocks from Raina and Sehwag lead India to a last-over victory.
 
October 1 2009
Wrote a man of the match algorithm to get back into the coding scheme of things. I'm planning to have a productive weekend this time around since I have no partying and the like to do. :) Still need to abstract the MoM algorithm into a visitor pattern, but that is getting very deep into implementation details.

There are a few things I'm trying to achieve this weekend:

1. Implement no balls (including free hit)
2. Implement wides
3. Implement byes/leg byes
4. Implement wicket generation (currently everything is bowled)
 
October 4 2009
I implemented different dismissals (finally). So not everyone is bowled. :p Will work on modifiers based on bowler type, match situation as well as match conditions a little later.

Next order of business is extras!
 
Status
Not open for further replies.

Users who are viewing this thread

Top