Пример #1
0
    /**
     * This method will update the score and the addition performance score in the database, when performing addition equasions
     * /param string playerName
     * /param int value
     * */
    public void PerformedAddition(string playerName, int value)
    {
        webRequests.UpdateDatabase(playerName, 1, value, 0, 0);
        string a = webRequests.GetTopScores();

        SetP1Score(currScore += 1);
        print("Score: " + currScore + " getScore " + GetP1Score());
    }