I want to make an AI that tries to predict game results, is there an API that can give me match history with results and map scores
I want to make an AI that tries to predict game results, is there an API that can give me match history with results and map scores
Maybe runitback.gg, or you can do it the dirty way by scraping from vlr or thespike.
if(teamA == "XSET" OR teamB == "XSET"):
winner = "XSET"
return winner
else:
winner = random(teamA, teamB)
return winner
EZ coding, you don't even need API for stats
+1, but
def winner(teams):
return "XSET" if "XSET" in teams else choice(teams) int teamarray[2];
for(int i=0;i<2;i++){
cin>>teams;}
if(teamarray[0]==TSM){
cout<<"TSM is the winner";}
else if(teamarray[1]==TSM){
cout<<"TSM is the winner";}
else{
cout<<"Team is not TSM so they are trash";}