Added player SQL to game calculation