Skip to content
This repository was archived by the owner on Nov 7, 2026. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ The format is loosely inspired by Keep a Changelog.

### Changed

- **Web 0.14.27, animation: while becomes do-while in lesson 12:** step „Erst machen, dann prüfen“ shows an animated structure chart: the condition `while i < 5` lights up with the label Bedingung (en Condition, pt Condição) and moves from the head of the while loop down into the foot, `do` appears at the top. Plays once when visible, „Noch einmal abspielen“ replays it (de/en/pt).
- **Web 0.14.26, animation: nested loop fills a times table in lesson 14:** in step „Schleife in der Schleife“, after the triangle example (which keeps the names `zeile`/`stern`), a new sentence says experienced programmers call the counters `i` and `j`, followed by an animated structure chart: the active block lights up, a variables box shows `i`, `j` and `text` (pt `texto`), and the console fills line by line with `1 2 3 4`, `2 4 6 8`, `3 6 9 12`. It shows that `j` starts again at 1 on every new line. Plays once when visible, „Noch einmal abspielen“ replays it (de/en/pt).
- **Web 0.14.25, „Bombe entschärfen“: tap part of a line:** a bomb round can name the wrong part with `stelle:` (e.g. `stelle: i++`). Such rounds show the parts of every line as tappable boxes (the three fields of a `for` header, the condition of `if`/`while`, target and value of an assignment, call and arguments split at `+`); right line but wrong part gives its own hint. Lesson 13 (6 of 8 rounds) and lesson 15 (all 6 rounds) use it (de/en/pt, texts in all 21 languages).
- **Web 0.14.24, animation: while becomes for in lesson 13:** step 2 „Zählen mit festem Plan“ of the for loop lesson shows an animated structure chart: the while loop's start value (`int i = 1`), condition (`i <= 5`) and step (`i++`) light up one after another in their own colour and then move together into the head of the for loop, labelled Start, Bedingung, Schritt (en Init/Condition/Step, pt Início/Condição/Passo). It plays once when it scrolls into view; „Noch einmal abspielen“ replays it. With reduced motion only the end state is shown. New lesson block `::: grafik datei.svg animiert` (own SVG with CSS animation, no library).
Expand Down
26 changes: 26 additions & 0 deletions web/lessons/bilder/en/l11-while-zu-do-while.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 26 additions & 0 deletions web/lessons/bilder/l11-while-zu-do-while.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 26 additions & 0 deletions web/lessons/bilder/pt/l11-while-zu-do-while.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions web/lessons/de/12-do-while-schleife.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ Die **Do-while-Schleife** ist **fußgesteuert**. Die Bedingung steht unten im Fu
2. Die Bedingung prüfen.
3. Ist sie wahr, wieder bei 1 anfangen. Ist sie falsch, geht es unter der Schleife weiter.

::: grafik l11-while-zu-do-while.svg animiert
Aus der While-Schleife wird eine Do-while-Schleife: Die Bedingung wandert vom Kopf nach unten in den Fuß, oben steht jetzt `do`.
:::

::: grafik l11-vergleich.svg
Links prüft die While-Schleife zuerst, rechts führt die Do-while-Schleife zuerst aus.
:::
Expand Down
4 changes: 4 additions & 0 deletions web/lessons/en/12-do-while-schleife.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ The **do-while loop** is a **post-test loop**. The condition is at the bottom, i
2. Check the condition.
3. If it is true, start again at 1. If it is false, the program continues below the loop.

::: grafik l11-while-zu-do-while.svg animiert
The while loop becomes a do-while loop: the condition moves from the head down into the foot, and the top now says `do`.
:::

::: grafik l11-vergleich.svg
On the left, the while loop checks first; on the right, the do-while loop runs first.
:::
Expand Down
4 changes: 4 additions & 0 deletions web/lessons/pt/12-do-while-schleife.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ O **ciclo do-while** é um **ciclo pós-teste**. A condição fica em baixo, no
2. Verificar a condição.
3. Se for verdadeira, recomeçar no 1. Se for falsa, o programa continua por baixo do ciclo.

::: grafik l11-while-zu-do-while.svg animiert
O ciclo while torna-se um ciclo do-while: a condição desce da cabeça para o pé, e em cima fica `do`.
:::

::: grafik l11-vergleich.svg
À esquerda, o ciclo while verifica primeiro; à direita, o ciclo do-while executa primeiro.
:::
Expand Down
4 changes: 2 additions & 2 deletions web/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion web/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "visustruct-web",
"private": true,
"version": "0.14.26",
"version": "0.14.27",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
Loading
Loading