It is a online scorer for cricket players. It also has some extra rule which are different from official cricket like “Getting out on hitting someone’s window rule”.
It is a online scorer for cricket players. It also has some extra rule which are different from official cricket like “Getting out on hitting someone’s window rule”.
Today and yesterday night i worked a whole lot on displaying the players. You won’t believe the number of errors i have run into for displaying the players. Now it works however after some help from AI. I also staightened the code a bit. And a part of the error was that i literally named batsman id as ‘batsmam’. WELL …..
I though a lot. And i came up with this. the website will ask player email id. then name and password will be saved. Then whenvere they play match they must enter name and password so they can’t be added without their choice. This also enables the website to transfer that match’s info to the player’saccount. And total MVP points could be used to build leaderboards, and will show like the cookies in flavortown. This is going to be a huge step that converts this project from a simple website to a powerful app. Also there are many things that can be added if match got linked. Like achievements in flavortown. Also live score update.
Log in to leave a comment
I did a lot of work today. I added logic to the first page. Now it asks for number of players and genreates fields for player names and store them. The next page also has some wicket options. While writing these wicket options, i had a brainstroke and though of MVP points. I also added types of wickets.
MVP POINTS -
Now batsman and bowler get MVP(most valuable player) points for their performance. I have not yet though of the exact numbers but the system is that if you hit runs at a good strike rate or have less runs and wickets you get MVP points. These decide player of the match best batsman and bowler and the best fielder.
Following are the type of out I have added-
Log in to leave a comment
I made the index page. For now the player cannot add information on team players. But that will be the next step. I have added option for team name and captains. I also added Toss winner option and what the winner chose to do. I am also thinking of adding a simple toss in website itself. I also added JS to store the information. The button now directs to the scoring page which has the buttons for runs. Next I will add buttons for wide and wickets. Right now the JS of the second page is not written. So the bowler batter and non striker appear blank.
Can a player also get runs on a wide ball? Like in no ball they can hit six so how can they get runs in no ball? And what are the different ways of getting out? (official)
Log in to leave a comment