added endGame method + updated Game entity to handle temporal values