Implement rewarding on game end