src/Neuron/GameServer/Player.php
public function getScore ()
    {
        $this->loadData ();
        $score = $this->data['p_score'];

        if ($score == 0 && $this->isPlaying ())
        {
            $this->updateScore ();
        }

        return $score;
    }
public function getScore ()
    {
        $this->loadData ();
        $score = $this->data['p_score'];

        if ($score == 0 && $this->isPlaying ())
        {
            $this->updateScore ();
        }

        return $score;
    }
/*
Calculate the score for this player