Stats

Forums Forums General chatter Stats

Viewing 15 posts - 1 through 15 (of 48 total)
  • Author
    Posts
  • #97
    Chris
    Member

    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.

    #2627
    Kyle
    Member

    Do 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 <img decoding=” title=”Smiley” />

    #2628
    Chris
    Member

    Oh, I was thinking more of stats being posted the day after the game <img decoding=” title=”Smiley” />

    #2629
    Michael
    Member

    Would 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.

    #2630

    I 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,

    #2631

    I forgot to add, the stats were generally posted the morning after the last game of the week last season.

    #2632
    Kyle
    Member

    Aaron’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.

    #2633
    Michael
    Member

    In 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 <img decoding=” title=”Cheesy” />

    #2634

    Sounds promising <img decoding=” 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.pdf

    But 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 ….

    #2635
    Kyle
    Member

    if 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 B), 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.

    #2636
    Michael
    Member

    Great input kyle <img decoding=” 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.

    #2637
    Chris
    Member

    Wow, this database idea is actually giving me hot flushes….

    #2638
    Michael
    Member

    Mmm 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
    • type

    Table “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_birth

    Table “players_positions”
    • player_id
    • team_id
    • position

    Tables “players_finances”
    • player_id
    • type (topay, payed)
    • description
    • amount
    • time

    Table “players_hired_gear”
    • player_id
    • item

    Table “players_addresses”
    • player_id
    • street
    • suburb
    • city
    • country
    • post_code
    • description

    Table “players_phonenumbers”
    • player_id
    • type
    • description
    • area_code
    • number

    Table “players_teams”
    • player_id
    • team_id
    • number

    Table “teams”
    • team_id (Auto increment)
    • name
    • description
    • color
    • alternate_color
    • manager
    • coach
    • assistant_coach

    Table “competitions”
    • competition_id (Auto increment)
    • name
    • description
    • start_time

    Table “competitions_teams”
    • competition _id
    • team_id

    Table “devisions”
    • devision_id (Auto increment)
    • competition_id
    • name
    • description

    Table “devisions_teams”
    • devision_id
    • team_id

    Table “games”
    • game_id (Auto)
    • competition_id
    • devision_id
    • description
    • team1_id
    • team2_id
    • scheduled_start
    • period1_start
    • period2_start
    • period3_start

    Table “goals”
    • goal_id
    • game_id
    • player_id
    • team_id
    • time

    Table “goals_assisted”
    • goal_id
    • player_id

    Table “penalties”
    • penalty_id
    • game_id
    • player_id
    • team_id
    • type
    • description
    • minutes
    • time

    Table “shots”
    • shot_id
    • game_id
    • player_id
    • team_id
    • time

    This 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

    #2639
    Kyle
    Member
    "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.

    #2640
    Chris
    Member

    Looks good Mike!!!

    Kyle: You know you love it.

Viewing 15 posts - 1 through 15 (of 48 total)
  • You must be logged in to reply to this topic.