Projekt:2021/WORDLE: Unterschied zwischen den Versionen

1.370 Bytes hinzugefügt ,  22:46, 6. Feb. 2022
keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
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 ===
8.581

Bearbeitungen