This commit is contained in:
2019-06-30 23:11:02 +02:00
parent 10a1ba1497
commit f9cb152cdb

View File

@@ -43,10 +43,16 @@ echo <<<END
END; END;
} }
if ($errors > 8 || 1 == 1) { if ($state == 1) {
echo <<<END
<p>Gewonnen!</p>
END;
}
if ($errors > 8) {
$guessword = $_SESSION['toGuess']; $guessword = $_SESSION['toGuess'];
echo <<<END echo <<<END
<p>Das richtige Wort wäre $guessword gewesen!</p> <p>Verloren. Das richtige Wort wäre $guessword gewesen!</p>
END; END;
} }