Back to Angular

Goal: {{ goal() }}º

adev/src/content/tutorials/playground/3-minigame/src/game.html

22.1.0-next.4839 B
Original Source

Goal: {{ goal() }}º

= 74">"{{ updatedInteractions().quote }}"

@if (rotateVal() >= 20) {

} = 74" > @switch (updatedInteractions().face) { @case (0) { } @case (1) { } @case (2) { } @case (3) { } @case (4) { } @default { } }

level: {{ gameStats().level + 1 }}

accuracy: {{ totalAccuracyPercentage() > 0 ? (totalAccuracyPercentage() | number: '1.1-1') + '%' : '??' }}

guess

@if (isGuessModalOpen()) { X

goal: {{ goal() }}º

actual: {{ rotateVal() | number: '1.1-1' }}º

{{ animatedAccuracy() | number: '1.1-1' }}% accurate

@if (animatedAccuracy() > 95) { } @else if (animatedAccuracy() > 80) { } @else if (animatedAccuracy() > 60) { } @else if (animatedAccuracy() > 40) { } @else { } "{{ resultQuote() }}"

again?share } @if (isAccessiblePanelOpen()) { -- - + ++ } Show Accessible Controls