Forums › Forums › General chatter › Stats
- This topic has 47 replies, 5 voices, and was last updated 17 years, 9 months ago by Michael.
-
AuthorPosts
-
March 19, 2007 at 2:48 am #97ChrisMember
Ryan,
How difficult would it be to have a running player/team stats section for the DIHL?
I really have no idea how the stats are collected/organised, so I realise this could be crazy talk.
Cheers,
Chris.March 19, 2007 at 3:44 am #2627KyleMemberDo you mean running as in, when a person scores a goal and it goes up on the scoreboard, the website has the stats live as they are entered in the score box?
Because that would be really hard, mostly because there’s no way that I know of to connect the computer they sometimes use in the scorebox to the internet.
I’d presume there is, or could be, software to do the rest of it, if someone was really keen.
I’d like every player to have a player page which got updated with stats over their career, listing teams they’ve played for and linking to pdf or digital copies of the scoresheets. With a pretty photo. But dreams are free ” title=”Smiley” />
March 19, 2007 at 5:16 am #2628ChrisMemberOh, I was thinking more of stats being posted the day after the game ” title=”Smiley” />
March 19, 2007 at 5:36 am #2629MichaelMemberWould be easy enough for someone to take a photocopy of the stats sheet and post it when they get home? Ill whip something up in php if wanted.
March 19, 2007 at 5:58 am #2630imported_RyanMemberI was looking at getting hold of the software used here from Nick Lynn (who runs the site):
[url:1s1scxl7]http://www.sncicehockey.com/?opt=schedule[/url:1s1scxl7]It can be purchased here [url:1s1scxl7]http://www.TheHockeyStop.com[/url:1s1scxl7] but it’s US$100 I think and it’s GPL anyway so no point paying for the damn thing. Plus it apparently has a few bugs in it, like you can’t make corrections afterwards – well you could probably change the database directly but that’s no good for anyone but me who has direct access to it, plus it’s a pain the ass. Nick hasn’t sent me the software yet.
In principle we should be able to create something ourselves but I’m definitely not knowledgeable enough for that. The computer tech guy at the university chemistry department offered to make one, but he’s given up as he got bored of it.
Do you reckon you could make something similar Mike? There’d be quite a bit of database work to make it work. I suspect if you made it you could probably make a few bucks off it too as all the software for this purpose is either crap, or mega expensive. That one above is the cheapest I’ve seen so far but it certainly isn’t perfect. It requires safe mode to be off – apparently this is a bad thing.
Ryan,
March 19, 2007 at 6:17 am #2631imported_RyanMemberI forgot to add, the stats were generally posted the morning after the last game of the week last season.
March 19, 2007 at 1:18 pm #2632KyleMemberAaron’s offered to do the stats for us this DIHL, but I don’t think he’s really sure what he’s going to do with them.
I agree, if someone could write a database to process statistics, which also did team and tournament management, it’s a gaping hole in the market waiting to be filled. Even a shareware one could easily make a few grand I’m sure.
March 20, 2007 at 4:28 am #2633MichaelMemberIn terms of difficulty I would rate something like that 1/10 lol, its basic input output of database, List the features you want in our own home brew scoring page and ill get it done in my spare time.
Be imaginative, what ever you can dream I can build ” title=”Cheesy” />
March 20, 2007 at 5:13 am #2634imported_RyanMemberSounds promising ” title=”Smiley” />
Um, now to explain exactly what it is we need.
Well obviously there needs to be a login function for the statisticians to enter their data, an htaccess protected folder would do for that I guess.
Then the stats would need to be calculated as per this type of thing:
http://www.dunedinicehockey.hellyer.kiwi/docum … tats06.pdfBut on top of that, it’d be great to be able to click on a player and see their exact stats for each game.
And be able to click on each team and see the exact stats for each game of their season.
Also, some way to rank players and teams automatically based on number of goals, penalty minutes, assists etc. etc.
Preferably set it up to either be easily skinnable by me, or with a nice CSS based design with no extraneous code turfed in there. We could iron any bugs in the display side of things later I guess though, the actually programming is the tricky bit!
There’s a bunch more things we’ll want too, but I can’t think of them right now and I’ve got to go ….
March 20, 2007 at 12:46 pm #2635KyleMemberif it’s just a stats management, then it should track goals, assists, games, tournaments/competitions, penalty minutes, penalty types, shots and saves. players should be able to be independent from their numbers between games, and yet retain their stats. Players should be able to be in multiple teams, multiple grades, and multiple competitions.
It should track individual career stats, game stats, and competition stats, and then the same for team stats. It would need to deal with overtime and penalty shootout situations.
If you really wanted to go for broke and make it a full tournament management software, then it should track names, addresses, phone numbers, emails, grades (A or , grade (the number we use to determine what grade a person can play in). It should track teams played in and tournaments. It should keep track of money.
then it should do single and double round robin draws for 4, 6, 8, and 10 teams. It should compute that draw both for a tournament style competition, and a weekly competition. It should do semi-finals and finals, optionally. It should keep track of points across tournaments
Everything should convert to useful html/css, presumably linked to a style sheet. Input should be able to be done offline, and you should be able to import material from spreadsheets or csv files.
If it sent out emails, that would be sweet. I’d also like it to be able to upload photos, and to create team and player pages, which included the stats and possibly a brief bio.
I’m sure I can think of more stuff, but that would get you started.
March 21, 2007 at 8:37 am #2636MichaelMemberGreat input kyle ” title=”Cheesy” />, plans are in motion and Ive already started planning. I will add every feature you’ve just listed.
I can’t give an eta at this time as I’m busy with work and the friendships.
Keep the input coming.
March 21, 2007 at 12:57 pm #2637ChrisMemberWow, this database idea is actually giving me hot flushes….
March 21, 2007 at 8:34 pm #2638MichaelMemberMmm well so far I’ve set it up for tournament’s and finances, I’m going to be working on stats today then Ill start building a front end to this mammoth.
Edit: for those interested in database structure, heres my first draft, I am now entering it in as a MySQL database with the correct datatypes etc.
Database Scheme
Table “users”
• user_id (Auto increment)
• player_id
• username
• password (SHA1) VARCHAR (40)
• email
• typeTable “players”
• player_id (Auto increment)
• first_name
• last_name
• picture?
• experience (Highest level played)
• played_time (Length of time played)
• registered
• management_only
• date_of_birthTable “players_positions”
• player_id
• team_id
• positionTables “players_finances”
• player_id
• type (topay, payed)
• description
• amount
• timeTable “players_hired_gear”
• player_id
• itemTable “players_addresses”
• player_id
• street
• suburb
• city
• country
• post_code
• descriptionTable “players_phonenumbers”
• player_id
• type
• description
• area_code
• numberTable “players_teams”
• player_id
• team_id
• numberTable “teams”
• team_id (Auto increment)
• name
• description
• color
• alternate_color
• manager
• coach
• assistant_coachTable “competitions”
• competition_id (Auto increment)
• name
• description
• start_timeTable “competitions_teams”
• competition _id
• team_idTable “devisions”
• devision_id (Auto increment)
• competition_id
• name
• descriptionTable “devisions_teams”
• devision_id
• team_idTable “games”
• game_id (Auto)
• competition_id
• devision_id
• description
• team1_id
• team2_id
• scheduled_start
• period1_start
• period2_start
• period3_startTable “goals”
• goal_id
• game_id
• player_id
• team_id
• timeTable “goals_assisted”
• goal_id
• player_idTable “penalties”
• penalty_id
• game_id
• player_id
• team_id
• type
• description
• minutes
• timeTable “shots”
• shot_id
• game_id
• player_id
• team_id
• timeThis will change slightly as I notice things that need to be added or removed, it can have features added to it as we need them also
March 21, 2007 at 9:48 pm #2639KyleMember"Chris":3nf9zn85 wrote:Wow, this database idea is actually giving me hot flushes….[/quote:3nf9zn85]OK. I’m not getting changed near to you next week. Too weird.
March 21, 2007 at 9:53 pm #2640ChrisMemberLooks good Mike!!!
Kyle: You know you love it.
-
AuthorPosts
- You must be logged in to reply to this topic.