You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 7, 2026. It is now read-only.
Repository navigation
Commit dbff72b
Browse filesBrowse the repository at this point in the historyBrowse files
Bombe entschärfen: Teile einer Zeile antippen (stelle:)
Runden mit stelle: zeigen die Teile jeder Zeile als eigene Knöpfe (for-Felder,
Bedingung, Ziel/Wert, Aufruf/Argumente). Richtige Zeile, falscher Teil gibt
einen eigenen Hinweis. L13 (sechs Runden) und L15 (sechs Runden) nutzen es.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ugz28TMpQfqqrpf8hBYRpx
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,7 @@ The format is loosely inspired by Keep a Changelog.
8
8
9
9
### Changed
10
10
11
+
-**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).
11
12
-**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).
12
13
-**Web 0.14.23, compact nested branches:** a two-way branch keeps both columns the same width only when neither column contains another branch or switch. Before, each nesting level doubled the width, so the drinks machine in lesson 10 step 2 (three nested branches) was about 3000 px wide and unreadable in the lesson and in the editor; now it is about half as wide, and 20 other lesson diagrams (e.g. VisuBot solutions, L17 ticket) get narrower too. Columns of a branch or switch inside a loop or another branch now always fill the box; before, the header could stay wider than its columns, so the if in lesson 14 step 3 looked like a loop (37 lesson diagrams affected). Wide diagrams in the lesson text no longer shrink below 60 % of their size; they scroll sideways instead.
13
14
-**Web 0.14.22, text case names in quotation marks:** in lesson 10 the traffic light structure chart now uses the case names `"rot"`, `"gelb"`, `"grün"` (en `"red"` …, pt `"vermelho"` …) and the calculator solution `"+"`, `"-"`, `"*"`, so it is clear they are texts and the generated Java (`case "rot" ->`) is valid. Lesson text, hint and quiz say so (de/en/pt). The simulation still accepts case names without quotes.
intro: In jedem Programm steckt **genau ein Fehler**, und die Bombe tickt. Lies, was das Programm tun soll, und tippe auf die falsche Zeile, bevor die Zeit abläuft. Acht Runden, je 25 Sekunden.
205
+
intro: In jedem Programm steckt **genau ein Fehler**, und die Bombe tickt. Lies, was das Programm tun soll, und tippe auf die falsche Zeile, bevor die Zeit abläuft. Sind die Teile einer Zeile umrandet, tippst du genau auf den falschen Teil, zum Beispiel nur auf `i++`. Acht Runden, je 25 Sekunden.
206
206
zeit: 25
207
207
208
208
runde:
@@ -229,6 +229,7 @@ runde:
229
229
}
230
230
frage: Soll von 10 bis 1 rückwärts zählen.
231
231
fehler: 1
232
+
stelle: i++
232
233
besser: for (int i = 10; i >= 1; i--) {
233
234
> Mit `i++` wird `i` immer größer, die Bedingung `i >= 1` bleibt wahr: eine Endlosschleife. Rückwärts zählst du mit `i--`.
234
235
@@ -240,6 +241,7 @@ runde:
240
241
System.out.println(summe);
241
242
frage: Soll die Summe 1 + 2 + 3 + 4 = 10 ausgeben.
242
243
fehler: 3
244
+
stelle: i
243
245
besser: summe = summe + i;
244
246
> `summe = i` überschreibt die Summe in jedem Durchlauf. Am Ende steht dort nur 4.
245
247
@@ -249,6 +251,7 @@ runde:
249
251
}
250
252
frage: Soll genau fünfmal Määäh ausgeben.
251
253
fehler: 1
254
+
stelle: i <= 5
252
255
besser: for (int i = 0; i < 5; i++) {
253
256
> Von 0 bis einschließlich 5 sind es sechs Durchläufe. Wer bei 0 anfängt, nimmt `<`.
254
257
@@ -258,6 +261,7 @@ runde:
258
261
}
259
262
frage: Soll 1, 2 und 3 ausgeben.
260
263
fehler: 2
264
+
stelle: system.out.println
261
265
besser: System.out.println(i);
262
266
> Java unterscheidet Groß- und Kleinbuchstaben: `System` schreibt man mit großem S.
263
267
@@ -268,6 +272,7 @@ runde:
268
272
}
269
273
frage: Soll die Siebenerreihe ausgeben: 7 x 1 = 7, 7 x 2 = 14 und so weiter.
270
274
fehler: 3
275
+
stelle: zahl * zahl
271
276
besser: System.out.println(zahl + " x " + i + " = " + zahl * i);
272
277
> `zahl * zahl` ist immer 49. Gerechnet werden muss `zahl * i`.
273
278
@@ -277,6 +282,7 @@ runde:
277
282
}
278
283
frage: Soll die geraden Zahlen 2, 4, 6, 8 und 10 ausgeben.
279
284
fehler: 1
285
+
stelle: i + 2
280
286
besser: for (int i = 2; i <= 10; i = i + 2) {
281
287
> `i + 2` rechnet nur, speichert aber nichts. Damit `i` wirklich wächst, braucht es `i = i + 2`.
intro: In jedem Programm steckt **genau ein Fehler** rund um Arrays, und die Bombe tickt. Tippe auf die falsche Zeile, bevor die Zeit abläuft. Sechs Runden, je 30 Sekunden.
234
+
intro: In jedem Programm steckt **genau ein Fehler** rund um Arrays, und die Bombe tickt. Tippe auf die falsche Zeile, bevor die Zeit abläuft. Sind die Teile einer Zeile umrandet, tippst du genau auf den falschen Teil. Sechs Runden, je 30 Sekunden.
235
235
zeit: 30
236
236
237
237
runde:
@@ -241,6 +241,7 @@ runde:
241
241
}
242
242
frage: Soll alle fünf Werte ausgeben.
243
243
fehler: 2
244
+
stelle: i <= zahlen.length
244
245
besser: for (int i = 0; i < zahlen.length; i++) {
245
246
> Mit `<=` läuft i bis 5. Das Fach `zahlen[5]` gibt es nicht.
intro: Every program hides **exactly one mistake**, and the bomb is ticking. Read what the program should do and tap the wrong line before time runs out. Eight rounds, 25 seconds each.
205
+
intro: Every program hides **exactly one mistake**, and the bomb is ticking. Read what the program should do and tap the wrong line before time runs out. If the parts of a line have a border, tap exactly the wrong part, for example just `i++`. Eight rounds, 25 seconds each.
206
206
zeit: 25
207
207
208
208
runde:
@@ -229,6 +229,7 @@ runde:
229
229
}
230
230
frage: Should count backwards from 10 to 1.
231
231
fehler: 1
232
+
stelle: i++
232
233
besser: for (int i = 10; i >= 1; i--) {
233
234
> With `i++`, `i` keeps growing and the condition `i >= 1` stays true: an endless loop. To count backwards, use `i--`.
234
235
@@ -240,6 +241,7 @@ runde:
240
241
System.out.println(sum);
241
242
frage: Should output the sum 1 + 2 + 3 + 4 = 10.
242
243
fehler: 3
244
+
stelle: i
243
245
besser: sum = sum + i;
244
246
> `sum = i` overwrites the sum in every pass. In the end it only holds 4.
245
247
@@ -249,6 +251,7 @@ runde:
249
251
}
250
252
frage: Should output Baaa exactly five times.
251
253
fehler: 1
254
+
stelle: i <= 5
252
255
besser: for (int i = 0; i < 5; i++) {
253
256
> From 0 up to and including 5 there are six passes. If you start at 0, use `<`.
254
257
@@ -258,6 +261,7 @@ runde:
258
261
}
259
262
frage: Should output 1, 2 and 3.
260
263
fehler: 2
264
+
stelle: system.out.println
261
265
besser: System.out.println(i);
262
266
> Java tells upper and lower case apart: `System` is written with a capital S.
263
267
@@ -268,6 +272,7 @@ runde:
268
272
}
269
273
frage: Should output the 7 times table: 7 x 1 = 7, 7 x 2 = 14 and so on.
270
274
fehler: 3
275
+
stelle: number * number
271
276
besser: System.out.println(number + " x " + i + " = " + number * i);
272
277
> `number * number` is always 49. It has to be `number * i`.
273
278
@@ -277,6 +282,7 @@ runde:
277
282
}
278
283
frage: Should output the even numbers 2, 4, 6, 8 and 10.
279
284
fehler: 1
285
+
stelle: i + 2
280
286
besser: for (int i = 2; i <= 10; i = i + 2) {
281
287
> `i + 2` only calculates and stores nothing. For `i` to really grow, you need `i = i + 2`.
intro: Every program contains **exactly one mistake** to do with arrays, and the bomb is ticking. Tap the wrong line before time runs out. Six rounds, 30 seconds each.
234
+
intro: Every program contains **exactly one mistake** to do with arrays, and the bomb is ticking. Tap the wrong line before time runs out. If the parts of a line have a border, tap exactly the wrong part. Six rounds, 30 seconds each.
235
235
zeit: 30
236
236
237
237
runde:
@@ -241,6 +241,7 @@ runde:
241
241
}
242
242
frage: Should output all five values.
243
243
fehler: 2
244
+
stelle: i <= numbers.length
244
245
besser: for (int i = 0; i < numbers.length; i++) {
245
246
> With `<=`, i runs up to 5. There is no slot `numbers[5]`.
246
247
@@ -249,6 +250,7 @@ runde:
249
250
System.out.println(names[1]);
250
251
frage: Should output the first name, Ada.
251
252
fehler: 2
253
+
stelle: names[1]
252
254
besser: System.out.println(names[0]);
253
255
> Counting starts at 0. `names[1]` is already Ben.
intro: Cada programa esconde **exatamente um erro**, e a bomba está a fazer tiquetaque. Lê o que o programa deve fazer e toca na linha errada antes de o tempo acabar. Oito rondas, 25 segundos cada.
205
+
intro: Cada programa esconde **exatamente um erro**, e a bomba está a fazer tiquetaque. Lê o que o programa deve fazer e toca na linha errada antes de o tempo acabar. Se as partes de uma linha tiverem moldura, toca exatamente na parte errada, por exemplo só em `i++`. Oito rondas, 25 segundos cada.
206
206
zeit: 25
207
207
208
208
runde:
@@ -229,6 +229,7 @@ runde:
229
229
}
230
230
frage: Deve contar para trás de 10 até 1.
231
231
fehler: 1
232
+
stelle: i++
232
233
besser: for (int i = 10; i >= 1; i--) {
233
234
> Com `i++`, `i` fica sempre maior e a condição `i >= 1` continua verdadeira: um ciclo infinito. Para contar para trás usas `i--`.
234
235
@@ -240,6 +241,7 @@ runde:
240
241
System.out.println(soma);
241
242
frage: Deve mostrar a soma 1 + 2 + 3 + 4 = 10.
242
243
fehler: 3
244
+
stelle: i
243
245
besser: soma = soma + i;
244
246
> `soma = i` substitui a soma em cada iteração. No fim fica lá só 4.
245
247
@@ -249,6 +251,7 @@ runde:
249
251
}
250
252
frage: Deve mostrar Mééé exatamente cinco vezes.
251
253
fehler: 1
254
+
stelle: i <= 5
252
255
besser: for (int i = 0; i < 5; i++) {
253
256
> De 0 até 5, inclusive, são seis iterações. Quem começa em 0 usa `<`.
254
257
@@ -258,6 +261,7 @@ runde:
258
261
}
259
262
frage: Deve mostrar 1, 2 e 3.
260
263
fehler: 2
264
+
stelle: system.out.println
261
265
besser: System.out.println(i);
262
266
> O Java distingue maiúsculas de minúsculas: `System` escreve-se com S maiúsculo.
263
267
@@ -268,6 +272,7 @@ runde:
268
272
}
269
273
frage: Deve mostrar a tabuada do 7: 7 x 1 = 7, 7 x 2 = 14 e assim por diante.
270
274
fehler: 3
275
+
stelle: numero * numero
271
276
besser: System.out.println(numero + " x " + i + " = " + numero * i);
272
277
> `numero * numero` dá sempre 49. Tem de ser `numero * i`.
273
278
@@ -277,6 +282,7 @@ runde:
277
282
}
278
283
frage: Deve mostrar os números pares 2, 4, 6, 8 e 10.
279
284
fehler: 1
285
+
stelle: i + 2
280
286
besser: for (int i = 2; i <= 10; i = i + 2) {
281
287
> `i + 2` só calcula e não guarda nada. Para `i` crescer mesmo, é preciso `i = i + 2`.
intro: Cada programa tem **exatamente um erro** com arrays, e a bomba está a fazer tique-taque. Toca na linha errada antes de o tempo acabar. Seis rondas, 30 segundos cada.
234
+
intro: Cada programa tem **exatamente um erro** com arrays, e a bomba está a fazer tique-taque. Toca na linha errada antes de o tempo acabar. Se as partes de uma linha tiverem moldura, toca exatamente na parte errada. Seis rondas, 30 segundos cada.
235
235
zeit: 30
236
236
237
237
runde:
@@ -241,6 +241,7 @@ runde:
241
241
}
242
242
frage: Deve mostrar os cinco valores.
243
243
fehler: 2
244
+
stelle: i <= numeros.length
244
245
besser: for (int i = 0; i < numeros.length; i++) {
245
246
> Com `<=`, i vai até 5. A posição `numeros[5]` não existe.
246
247
@@ -249,6 +250,7 @@ runde:
249
250
System.out.println(nomes[1]);
250
251
frage: Deve mostrar o primeiro nome, ou seja, Ada.
0 commit comments