Added global and player history along with win lose state checking on the server.