Exemple #1
0
	def compare_players_bot(team1, team2, players, team1Name, team2Name):
		bot1Total = (Player.return_awareness(players[team1][3]) +  Player.return_brawling(players[team1][3]) + (Player.return_mechanics(players[team1][3]) * 1.25) + Player.return_teamwork(players[team1][3])) + (.75 * (Player.return_awareness(players[team1][4]) + Player.return_brawling(players[team1][4]) + Player.return_mechanics(players[team1][4]) + (Player.return_teamwork(players[team1][4])*2)))
		bot2Total = (Player.return_awareness(players[team2][3]) +  Player.return_brawling(players[team2][3]) + (Player.return_mechanics(players[team2][3]) * 1.25) + Player.return_teamwork(players[team2][3])) + (.75 * (Player.return_awareness(players[team2][4]) + Player.return_brawling(players[team2][4]) + Player.return_mechanics(players[team2][4]) + (Player.return_teamwork(players[team2][4])*2)))	
		botDiff = bot1Total - bot2Total
		if bot1Total > bot2Total:
			print("Expect bot lane to be dominated by %s this game." % team1Name)
			return botDiff
		elif bot1Total < bot2Total:
			print("Expect bot lane to be dominated by %s this game."% team2Name)
			return botDiff
		elif bot1Total == bot2Total:
			print('Both bot lane pairs look to be in top shape. It will be a lane to watch for sure!')
			return botDiff
Exemple #2
0
	def compare_players_jung(team1, team2, players, team1Name, team2Name):
		player1Total = (Player.return_awareness(players[team1][2]) * 1.25)+  Player.return_brawling(players[team1][2])  + Player.return_mechanics(players[team1][2]) + Player.return_teamwork(players[team1][2])
		player2Total = (Player.return_awareness(players[team2][2]) * 1.25) +  Player.return_brawling(players[team2][2]) + Player.return_mechanics(players[team2][2]) + Player.return_teamwork(players[team2][2])	
		jungDiff = player1Total - player2Total
		if player1Total > player2Total:
			print("%s has the clear advantage in the jungle this game." % team1Name)
			return jungDiff
		elif player1Total < player2Total:
			print("%s has the clear advantage in the jungle this game."% team2Name)
			return jungDiff
		elif player1Total == player2Total:
			print('Both junglers are evently matched. All the laners will need to be on their toes this game!')
			return jungDiff
Exemple #3
0
	def compare_players_mid(team1, team2, players, team1Name, team2Name):
		player1Total = Player.return_awareness(players[team1][1]) +  Player.return_brawling(players[team1][1])  + (Player.return_mechanics(players[team1][1]) * 1.25) + Player.return_teamwork(players[team1][1])
		player2Total = Player.return_awareness(players[team2][1]) +  Player.return_brawling(players[team2][1])  + (Player.return_mechanics(players[team2][1]) * 1.25) + Player.return_teamwork(players[team2][1])	
		midDiff = player1Total - player2Total
		if player1Total > player2Total:
			print("It looks like the advantage goes to %s for the mid lane" % team1Name)
			return midDiff
		elif player1Total < player2Total:
			print("It looks like the advantage goes to %s for the mid lane." % team2Name)
			return midDiff
		elif player1Total == player2Total:
			print('It looks like an even match in the mid lane. It should be interesting to see how this turns out!')
			return midDiff
Exemple #4
0
	def compare_players_top(team1, team2, players, team1Name, team2Name): #Team 1 & 2 = place in array (PC team is 0)
		player1Total = Player.return_awareness(players[team1][0]) +  (Player.return_brawling(players[team1][0]) * 1.25) + Player.return_mechanics(players[team1][0]) + Player.return_teamwork(players[team1][0])
		player2Total = Player.return_awareness(players[team2][0]) +  (Player.return_brawling(players[team2][0]) * 1.25) + Player.return_mechanics(players[team2][0]) + Player.return_teamwork(players[team2][0])	
		topDiff = player1Total - player2Total
		if player1Total > player2Total:
			print("It looks like %s has the edge in the top lane this game." % team1Name)
			return topDiff
		elif player1Total < player2Total:
			print("It looks like %s has the edge in the top lane this game." % team2Name)
			return topDiff
		elif player1Total == player2Total:
			print('It looks like both team\'s top laners are equally matched. Should be an exciting lane to watch!')
			return topDiff
Exemple #5
0
	def mute_compare_players(team1, team2, players, team1Name, team2Name):
		player1Total = Player.return_awareness(players[team1][0]) +  (Player.return_brawling(players[team1][0]) * 1.25) + Player.return_mechanics(players[team1][0]) + Player.return_teamwork(players[team1][0])
		player2Total = Player.return_awareness(players[team2][0]) +  (Player.return_brawling(players[team2][0]) * 1.25) + Player.return_mechanics(players[team2][0]) + Player.return_teamwork(players[team2][0])	
		topDiff = player1Total - player2Total
		player1Total = Player.return_awareness(players[team1][1]) +  Player.return_brawling(players[team1][1])  + (Player.return_mechanics(players[team1][1]) * 1.25) + Player.return_teamwork(players[team1][1])
		player2Total = Player.return_awareness(players[team2][1]) +  Player.return_brawling(players[team2][1])  + (Player.return_mechanics(players[team2][1]) * 1.25) + Player.return_teamwork(players[team2][1])	
		midDiff = player1Total - player2Total
		player1Total = (Player.return_awareness(players[team1][2]) * 1.25)+  Player.return_brawling(players[team1][2])  + Player.return_mechanics(players[team1][2]) + Player.return_teamwork(players[team1][2])
		player2Total = (Player.return_awareness(players[team2][2]) * 1.25) +  Player.return_brawling(players[team2][2]) + Player.return_mechanics(players[team2][2]) + Player.return_teamwork(players[team2][2])	
		jungDiff = player1Total - player2Total
		bot1Total = (Player.return_awareness(players[team1][3]) +  Player.return_brawling(players[team1][3]) + (Player.return_mechanics(players[team1][3]) * 1.25) + Player.return_teamwork(players[team1][3])) + (.75 * (Player.return_awareness(players[team1][4]) + Player.return_brawling(players[team1][4]) + Player.return_mechanics(players[team1][4]) + (Player.return_teamwork(players[team1][4])*2)))
		bot2Total = (Player.return_awareness(players[team2][3]) +  Player.return_brawling(players[team2][3]) + (Player.return_mechanics(players[team2][3]) * 1.25) + Player.return_teamwork(players[team2][3])) + (.75 * (Player.return_awareness(players[team2][4]) + Player.return_brawling(players[team2][4]) + Player.return_mechanics(players[team2][4]) + (Player.return_teamwork(players[team2][4])*2)))	
		botDiff = bot1Total - bot2Total
		difference = topDiff + midDiff + jungDiff + botDiff
		return difference
Exemple #6
0
	def display_player_stats(players):
		player0Total = Player.return_awareness(players[0][0]) + Player.return_brawling(players[0][0]) + Player.return_mechanics(players[0][0]) + Player.return_teamwork(players[0][0])
		player1Total = Player.return_awareness(players[0][1]) + Player.return_brawling(players[0][1]) + Player.return_mechanics(players[0][1]) + Player.return_teamwork(players[0][1])
		player2Total = Player.return_awareness(players[0][2]) + Player.return_brawling(players[0][2]) + Player.return_mechanics(players[0][2]) + Player.return_teamwork(players[0][2])
		player3Total =Player.return_awareness(players[0][3]) + Player.return_brawling(players[0][3]) + Player.return_mechanics(players[0][3]) + Player.return_teamwork(players[0][3])
		player4Total =Player.return_awareness(players[0][4]) + Player.return_brawling(players[0][4]) + Player.return_mechanics(players[0][4]) + Player.return_teamwork(players[0][4])
		print('		', Player.return_name(players[0][0]),'	', Player.return_name(players[0][1]),'	', Player.return_name(players[0][2]),'	', Player.return_name(players[0][3]),'	', Player.return_name(players[0][4]))
		print('Awareness:	', Player.return_awareness(players[0][0]), '		', Player.return_awareness(players[0][1]), '		', Player.return_awareness(players[0][2]), '		', Player.return_awareness(players[0][3]), '		',Player.return_awareness(players[0][4]))
		print('Brawling:	', Player.return_brawling(players[0][0]), '		', Player.return_brawling(players[0][1]), '		', Player.return_brawling(players[0][2]), '		', Player.return_brawling(players[0][3]), '		',Player.return_brawling(players[0][4]))
		print('Mechanics:	', Player.return_mechanics(players[0][0]), '		', Player.return_mechanics(players[0][1]), '		', Player.return_mechanics(players[0][2]), '		', Player.return_mechanics(players[0][3]), '		',Player.return_mechanics(players[0][4]))
		print('Teamwork:	', Player.return_teamwork(players[0][0]), '		', Player.return_teamwork(players[0][1]), '		', Player.return_teamwork(players[0][2]), '		', Player.return_teamwork(players[0][3]), '		',Player.return_teamwork(players[0][4]))
		print('Totals:		', player0Total, '		', player1Total, '		', player2Total, '		', player3Total, '		',player4Total)