65a8935e32efeff1ef77ac6923524c003fa450f8
WorldValidator only checked id syntax, startRoom and NPC greetings. Quests, endings and combinations were never even passed to it, so a broken world could load "successfully" and then fail during play: - A room without a 'name' loaded cleanly and threw an NPE in ConsoleIO.frameTop the moment the player walked in. - A typo'd item id in a quest condition silently evaluated to false forever, leaving the stage uncompletable with no diagnostic. The validator now receives quests, endings and combinations, and resolves every item and quest id used in conditions, effects and recipes. Rooms and items must carry a non-blank name and description. All problems are collected and reported together instead of one per run.
Programmierung 2 — Algorithmen und Datenstrukturen
Code zu den Aufgabenblättern aus dem Modul Programmierung 2 (2. Semester).
Dieses Repo enthält ausschließlich den Java-Code. Aufgabenstellungen,
Lösungstexte und PDFs liegen außerhalb des Repos in
../Uebungen/<NN>/ (Nextcloud-synchronisiert, nicht versioniert).
Konvention siehe THB/README.md.
Repository klonen
git clone https://gitea.jeanlucmakiola.de/THB/Jander_Semester2.git code
cd code
(Lokal heißt der Checkout code per THB-Konvention; remote-Name bleibt
historisch Jander_Semester2.)
Struktur
code/
├── uebung_01/ - Aufgabenblatt 1
│ └── src/
│ ├── util/ - Hilfsklassen (Util, ArrayTester)
│ ├── task3/ - NumberGuesser + KI-Vergleich
│ ├── task4/ - AnagrammChecker + KI-Vergleich
│ ├── task5/ - PrimeNumberGenerator + KI-Vergleich
│ └── task6/ - Sorter + KI-Vergleich
└── uebung_02/ - Aufgabenblatt 2
└── src/
└── util/ - Hilfsklassen (Util, ArrayTester, IntArrayList, Sorter)
Die zugehörigen Aufgabenblätter und Lösungsdokumente liegen in:
../Uebungen/01/{Aufgabe.pdf, Loesung.md, Loesung.pdf, task1.png, task2.png, task5.png}
../Uebungen/02/{Aufgabe.pdf, Loesung.md}
Voraussetzungen
- Java 25+
- IntelliJ IDEA (empfohlen)
- Git (Setup-Anleitung)
Description
Languages
Java
100%