implemented timer on server to calculate points and end game if expired