Implement token calculation after game ends