protected function drawScoreboard()
    {
        $size = count($this->teams);
        $this->preamble($size);

        foreach ($this->teams as $key => $team) {
            $this->write(sprintf(
                " %s%sm%s%s\n",

                self::ESC,
                $team->getColor(),
                $team->getScore(),
                self::NND
            ));
        }

        $this->postamble($size);
    }
protected function drawScoreboard()
    {
        $size = count($this->teams);
        $this->preamble($size);

        foreach ($this->teams as $key => $team) {
            $this->write(sprintf(
                " %s%sm%s%s\n",

                self::ESC,
                $team->getColor(),
                $team->getScore(),
                self::NND
            ));
        }

        $this->postamble($size);
    }
protected function drawScoreboard ( ) { $ size = count ( $ this -> teams ) ; $ this -> preamble ( $ size ) ; foreach ( $ this -> teams as $ key => $ team ) { $ this -> write ( sprintf ( " %s%sm%s%s\n" , self :: ESC , $ team -> getColor ( ) , $ team -> getScore ( ) , self :: NND ) ) ; } $ this -> postamble ( $ size ) ; }
Draws the scoreboard for the current iteration.
Draws the scoreboard for the current iteration .