public function lastMoveIsPlayed()
    {
        $moves = $this->getMoveHistory();
        $offset = count($moves) - 1;
        $last_item = $this->moves[$offset];
        $this->moves[$offset][key($last_item)] = true;
        return $this;
    }