Projekt:2021/WORDLE: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Jneug (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Jneug (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
Zeile 10: | Zeile 10: | ||
{{Aufgabe:End}} | {{Aufgabe:End}} | ||
== Das WORDLE Play Protocol 3 (WOPP3) == | |||
<pre> | |||
Positiver Indikator: +OK | |||
Negativer Indikator: -ERR | |||
Antwort auf nicht gültige Befehle: -ERR command not valid in this state | |||
Immer möglich: | |||
QUIT | |||
+OK bye | |||
- Client baut Verbindung auf - | |||
+OK <willkommensnachricht> | |||
## Anmeldephase | |||
USER <username> | |||
+OK | |||
-ERR <nachricht> | |||
PASS <password> | |||
+OK welcome | |||
-ERR login not valid | |||
WOTD | |||
+OK game ready | game running | |||
-ERR game finished | |||
PLAY | |||
+OK game ready | game running | |||
-ERR not logged in | wotd not finished | |||
## Spielphase | |||
SEND <wordl> | |||
+OK <answer> | |||
game continues | game won | game lost | |||
Five chars with: | |||
0 = not in word | |||
1 = wrong place | |||
2 = correct | |||
-ERR wrong format | word not in dict | |||
INFO | |||
+OK | |||
wort1 01002 | |||
wort2 01012 | |||
wort3 02100 | |||
. | |||
INFO <n> | |||
+OK wortN 01020 | |||
EXIT | |||
+OK | |||
Wechsel in Zwischenphase | |||
+ERR not logged in | |||
## Zwischenphase (angemeldet) | |||
STAT | |||
+OK | |||
times played: <int> | |||
win percentage: <int> | |||
current streak: <int> | |||
max streak: <int> | |||
won in 1 turn: <int> | |||
won in 2 turn: <int> | |||
won in 3 turn: <int> | |||
won in 4 turn: <int> | |||
won in 5 turn: <int> | |||
won in 6 turn: <int> | |||
. | |||
PLAY | |||
+OK game ready | game running | |||
-ERR wotd not finished | |||
</pre> | |||
=== Links === | === Links === |
Version vom 6. Februar 2022, 22:46 Uhr
Seite zum Projekt Wordle des Informatik LK im Schuljahr 2021/22.
Projekt Wordle
Arbeitsauftrag
Modelliert und implementiert zu zweit einen Wordle Server, der das im Unterricht entwickelte WOPP3 vollständig umsetzt.
Das WORDLE Play Protocol 3 (WOPP3)
Positiver Indikator: +OK Negativer Indikator: -ERR Antwort auf nicht gültige Befehle: -ERR command not valid in this state Immer möglich: QUIT +OK bye - Client baut Verbindung auf - +OK <willkommensnachricht> ## Anmeldephase USER <username> +OK -ERR <nachricht> PASS <password> +OK welcome -ERR login not valid WOTD +OK game ready | game running -ERR game finished PLAY +OK game ready | game running -ERR not logged in | wotd not finished ## Spielphase SEND <wordl> +OK <answer> game continues | game won | game lost Five chars with: 0 = not in word 1 = wrong place 2 = correct -ERR wrong format | word not in dict INFO +OK wort1 01002 wort2 01012 wort3 02100 . INFO <n> +OK wortN 01020 EXIT +OK Wechsel in Zwischenphase +ERR not logged in ## Zwischenphase (angemeldet) STAT +OK times played: <int> win percentage: <int> current streak: <int> max streak: <int> won in 1 turn: <int> won in 2 turn: <int> won in 3 turn: <int> won in 4 turn: <int> won in 5 turn: <int> won in 6 turn: <int> . PLAY +OK game ready | game running -ERR wotd not finished
Links
- Das original Worlde-Spiel.
- Eine deutsche Version von Wordle.