Projekt:2021/WORDLE: Unterschied zwischen den Versionen

Aus Informatik-Box
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
Zeile 9: Zeile 9:
Modelliert und implementiert zu zweit einen [https://wordle.uber.space Wordle] Server, der das im Unterricht entwickelte WOPP3 vollständig umsetzt.
Modelliert und implementiert zu zweit einen [https://wordle.uber.space Wordle] Server, der das im Unterricht entwickelte WOPP3 vollständig umsetzt.
{{Aufgabe:End}}
{{Aufgabe:End}}
=== Links ===
* Das [https://www.powerlanguage.co.uk/wordle/ original Worlde-Spiel].
* Eine [https://wordle.uber.space deutsche Version von Wordle].
* [https://git.ngb.schule/IF-LK-2020/wordle Wordle Git-Repository]
** [https://git.ngb.schule/repo/fork/336 Direkt einen Fork anlegen]


== Das WORDLE Play Protocol 3 (WOPP3)  ==
== Das WORDLE Play Protocol 3 (WOPP3)  ==
Zeile 81: Zeile 89:
-ERR wotd not finished
-ERR wotd not finished
</pre>
</pre>
=== Links ===
* Das [https://www.powerlanguage.co.uk/wordle/ original Worlde-Spiel].
* Eine [https://wordle.uber.space deutsche Version von Wordle].
* [https://git.ngb.schule/IF-LK-2020/wordle Wordle Git-Repository]
** [https://git.ngb.schule/repo/fork/336 Direkt einen Fork anlegen]


== Dokumentationen ==
== Dokumentationen ==

Version vom 6. Februar 2022, 22:47 Uhr

Seite zum Projekt Wordle des Informatik LK im Schuljahr 2021/22.

Projekt Wordle

Icon Heft.png
Arbeitsauftrag

Modelliert und implementiert zu zweit einen Wordle Server, der das im Unterricht entwickelte WOPP3 vollständig umsetzt.


Links

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

Dokumentationen