src/GameOfLife/Inputs/BoardEditor/Options/HelpOption.php
/**
     * Displays a help message which tells the user how to use the board editor.
     *
     * @return bool Indicates whether the board editing is finished
     */
Displays a help message which tells the user how to use the board editor.
@return bool Indicates whether the board editing is finished
Displays a help message which tells the user how to use the board editor . @return bool Indicates whether the board editing is finished
public function displayHelp()
    {
        $helpText = "\nSet the coordinates for the living cells as below:\n"
            . "<X-Coordinate>,<Y-Coordinate>\n"
            . "Enter the coordinates of a set field to unset it.\n"
            . "The game starts when you type \"start\" in a new line and press <Enter>\n"
            . "You can save your board configuration before starting the simulation by typing \"save\"\n"
            . "Type \"options\" to see a list of all valid options\n"
            . "Let's Go:\n\n";
        echo $helpText;
        return false;
    }
public function displayHelp ( ) { $ helpText = " \n Set the coordinates for the living cells as below: \n " . " <X-Coordinate>,<Y-Coordinate> \n " . " Enter the coordinates of a set field to unset it. \n " . " The game starts when you type  \" start \"  in a new line and press <Enter> \n " . " You can save your board configuration before starting the simulation by typing  \" save \" \n " . " Type  \" options \"  to see a list of all valid options \n " . " Let's Go: \n \n " ; echo $ helpText ; return false ; }
Displays a help message which tells the user how to use the board editor.
Displays a help message which tells the user how to use the board editor .