This is a super neat idea. Thanks so much for making it!<p>Some small comments:<p>I found the tutorial video painfully slow, but maybe you're targeting beginning programmers. All I was looking for was-- what's the language, what's the api.<p>The determining function could easily be a pure function. I.e., it could designate the winner by returning true, or false, or an enum/constant.<p>Actually, I think I would prefer this API:<p>function (team)
{
return team.off_reb * team.win_pct;
}<p>And then play the teams by calculating the scores for each team and comparing them. But then of course, you can't have different scores depending on the opponent. I wouldn't use that information, but perhaps others would.