ensignlee / ssbook

ssbook
5 stars 3 forks source link

Figure out how to deal with double headers #40

Closed camerondavison closed 13 years ago

camerondavison commented 13 years ago

Figure out a way in the UI and in the backend to differentiate between baseball double headers.

Right now everything assumes that there is 1 game per team pair per day. All the odds, all the dropdowns all the scores depend on this fact. This is not a fact in MLB at least, and possibly not in some other sports.

ensignlee commented 13 years ago

We can't use game time as part of the Primary Key?

Also, have we looked to see if ESPN's PK is maybe sport + game ID?

camerondavison commented 13 years ago

problem with game time is that this is not always the same across pinnacle and what not. i think the better solution that we talked about was using pitcher.

ensignlee commented 13 years ago

Yeah, pitcher is the better solution. I wrote the above comment before I talked to you about it.

Now, question is, did you get it done before the game last night? Because if not, no more baseball games for some time. :D

camerondavison commented 13 years ago

Why is this marked as next release? MLB is pretty far off can't I just fix it in Patch 1.0?

ensignlee commented 13 years ago

Lol, I didn't mark this as next release. Ask yourself yo. :D

I changed it to patch 1.0

ensignlee commented 13 years ago

K, now it's next release

camerondavison commented 13 years ago

I checked in the ESPN code for this. Looks like pinnacle will work, because it has the game start time. So we just look for the game to have that home/visitor team within the hour of game start. So pinnacle should work correctly. I guess we will just have to keep an eye on it.

camerondavison commented 13 years ago

this looks fine now, and i have updated all the existing bets