added scoring logic to game and in after game screen