Maze Challenge: Fraction Subtraction Practice

Maze Challenge: Fraction Subtraction Practice
Loading the math board and drawing, please wait…
2022-08-10 06:44
An interactive maze game where students solve fraction subtraction problems while navigating through the labyrinth, receiving instant feedback on correctness. The core mathematical concept is subtraction of fractions, including both same-denominator and different-denominator cases as well as simplification. Construction uses GeoGebra commands such as Shuffle, Element, and Flatten for random question generation, Sequence and Length to manage problem sequences and path lengths, IsInRegion for collision detection within the maze, Textfield for student input, and Text, If, correct, and correctValue for answer validation and hint display. Designed for grades 5–6 math classes, suitable for in-class practice or homework, with Google Classroom sharing support.

GeoGebra Commands & Parameters

  1. Shuffle(Sequence[10]) → randomNumbers, {2, 6, 3, 7, 10, 8, 4, 1, 5, 9}
  2. Element(randomNumbers, Mod[questionCount, Length[randomNumbers]] + 1) → randomNumber
  3. Element(allSolutionsCalculated, randomNumber) → expectedSolutionValue
  4. Element(Element[allSolutionsSplitted, randomNumber], 1) → expectedSolutionGanze
  5. Element(Element[allSolutionsSplitted, randomNumber], 3) → expectedSolutionNenner
  6. Element(Element[allSolutionsSplitted, randomNumber], 2) → expectedSolutionZaehler
  7. Flatten({labyrinthW01, labyrinthW02, labyrinthW03, labyrinthW04}) → labyrinthWaagrecht
  8. Flatten({labyrinthS01, labyrinthS02, labyrinthS03, labyrinthS04}) → labyrinthSenkrecht
  9. Flatten({labyrinthSenkrecht, labyrinthWaagrecht}) → labyrinth
  10. Length(randomNumbers) → numberOfQuestions
  11. Sequence(Polygon[Element[questionsPositions, i], Element[questionsPositions, i] + sizeWaagrecht, Element[questionsPositions, i] + sizeWaagrecht + sizeSenkrecht, Element[questionsPositions, i] + sizeSenkrecht], i, 1, Length[questionsPositions]) → questionsRectangles
  12. IsInRegion(A, Element[questionsRectangles, actualQuestionNeeded]) → showQuestion
  13. Textfield(studentAnswer01) → inputBox01
  14. Textfield(studentAnswer02) → inputBox02
  15. Textfield(studentAnswer03) → inputBox03
  16. Text("\textsf{" + (ReplaceAll[Element[allTasks, randomNumber], "-", "\\minus"]) + "}", txtTaskPosition, true, true, -1, 0) → txtTask
  17. If((¬needGanze) ∧ needBruch, 5.25, 5.95) → startPositionBruchXValue

AI Drawing Prompt Reference

Draw a maze game interface with horizontal and vertical wall segments forming a labyrinth. Inside the maze, place several rectangular zones as question spots. A movable point represents the player character. In different rectangular zones, display fraction subtraction problems, such as mixed numbers or proper fractions, with three input boxes for entering the whole number, numerator, and denominator of the answer. Show current question number or progress near the maze. Keep the layout clear for students, with a simple background highlighting the maze paths and question areas.
The prompt above was compiled from the original drawing commands and is for reference only.