Card Game and Fraction Comparison

Card Game and Fraction Comparison
Loading the math board and drawing, please wait…
2023-11-02 19:53
This example demonstrates comparing fractions through a card game. The core mathematical concepts involved are the comparison of fractions. Construction highlights the use of SelectedIndex, Element, If, Textfield, Flatten, Translate, Zip, Point, CountIf, etc., GeoGebra commands. Suitable for upper elementary or middle school students to learn fraction comparison.

GeoGebra Commands & Parameters

  1. SelectedIndex(DropDown4c) → input4c
  2. SelectedIndex(DropDown3c) → input3c
  3. SelectedIndex(DropDown3b) → input3b
  4. SelectedIndex(DropDown1a) → input1a
  5. SelectedIndex(DropDown1b) → input1b
  6. SelectedIndex(DropDown4a) → input4a
  7. SelectedIndex(DropDown4b) → input4b
  8. SelectedIndex(DropDown2a) → input2a
  9. SelectedIndex(DropDown3a) → input3a
  10. Element(listselected, runde) → selected
  11. SelectedIndex(DropDown2b) → input2b
  12. SelectedIndex(DropDownB) → inputB
  13. If(selected ≟ 2, 4, 5.2) → fracsizex
  14. If(selected ≟ 2, (1.33948, 1), (1.8, 1)) → C1
  15. Element({correct1, correct2a ∧ correct2b, correct3a ∧ correct3b ∧ correct3c, correct4a ∧ correct4b ∧ correct4c, true}, selected) → correctA
  16. Textfield(inputB) → Eingabefeld2
  17. If(runde ≟ 1, A1, A2) → A
  18. Flatten(Sequence[Sequence[A + (m * (vsizex / 2 + 0.4, 0)) + (j * (0, vsizey - 0.8)), m, 0, 5], j, 0, 1]) → listAllPoints
  19. Translate(Polygon[(0, 0), (vsizex, 0), (vsizex, vsizey), (0, vsizey)], listAllPoints(1)) → v1
  20. Translate(Polygon[(0, 0), (vsizex, 0), (vsizex, vsizey), (0, vsizey)], listAllPoints(3)) → v2
  21. Translate(Polygon[(0, 0), (vsizex, 0), (vsizex, vsizey), (0, vsizey)], listAllPoints(5)) → v3
  22. Translate(Polygon[(0, 0), (vsizex, 0), (vsizex, vsizey), (0, vsizey)], listAllPoints(8)) → v4
  23. Translate(Polygon[(0, 0), (vsizex, 0), (vsizex, vsizey), (0, vsizey)], listAllPoints(10)) → v5
  24. Zip(Translate[Polygon[(0, 0), (vsizex, 0), (vsizex, vsizey), (0, vsizey)], P], P, listP) → listWhiteV
  25. Point(Line[B1, xAxis]) → B2
  26. Translate(Polygon[(0, 0), (vsizex, 0), (vsizex, vsizey), (0, vsizey)], B1) → w1
  27. Translate(Polygon[(0, 0), (vsizex, 0), (vsizex, vsizey), (0, vsizey)], B2) → w2
  28. Flatten(Sequence[Sequence[C1 + (m * (fracsizex / 6, 0)) + (j * (0, fracsizey)), m, 0, 5], j, 0, 0]) → listPointsL
  29. Zip(Translate[Polygon[(0, 0), (fracsizex / 6, 0), (fracsizex / 6, fracsizey), (0, fracsizey)], P], P, listPointsL) → listVL
  30. Flatten(Sequence[Sequence[C2 + (m * (fracsizex / numN, 0)) + (j * (0, fracsizey)), m, 0, numN - 1], j, 0, 0]) → listPointsR
  31. Zip(Translate[Polygon[(0, 0), (fracsizex / 6, 0), (fracsizex / 6, fracsizey), (0, fracsizey)], P], P, {listPointsL(1), listPointsL(2)}) → listVLZ
  32. Flatten(Sequence[Sequence[C2 + (m * (fracsizex / numN, 0)) + (j * (0, fracsizey)), m, 0, numZ - 1], j, 0, 0]) → listPointsRZ
  33. Textfield(inputB) → Eingabefeld1
  34. Translate(Segment[(fracsizex / 2, 0), (fracsizex / 2, fracsizey)], C1) → f1
  35. Translate(Segment[(fracsizex / 2, 0), (fracsizex / 2, fracsizey)], C2) → f2
  36. Translate(Polygon[((-padding), padding), (vsizex + padding, padding), (vsizex + padding, vsizey - padding), ((-padding), vsizey - padding)], listP(selected)) → vselected
  37. Flatten(Sequence[Sequence[C2 + (m * (fracsizex / numN, 0)) + (j * (0, fracsizey)), m, 0, (2 * numN) - 1], j, 0, 0]) → listPointsR2
  38. Translate(Segment[(fracsizex, 0), (fracsizex, fracsizey)], C1) → f3
  39. Translate(Segment[(fracsizex, 0), (fracsizex, fracsizey)], C2) → f4
  40. CountIf(m ≟ 0, m, listselected) → selectedtogo
  41. SpeechBubbleLeft(B, 9.4, 5.3) → Vieleck1
  42. SpeechBubbleLeft(E, 12, 2.9) → Vieleck2
  43. SpeechBubbleLeft(H, 8.5, 1.6) → Vieleck3
  44. Zip(Translate[Polygon[(0, 0), (fracsizex / numN, 0), (fracsizex / numN, fracsizey), (0, fracsizey)], P], P, listPointsR) → listVR
  45. SpeechBubbleLeft(M, 9, 1.23) → Vieleck4
  46. Zip(Translate[Polygon[(0, 0), (fracsizex / numN, 0), (fracsizex / numN, fracsizey), (0, fracsizey)], P], P, listPointsR2) → listVR2
  47. Zip(Translate[Polygon[(0, 0), (fracsizex / numN, 0), (fracsizex / numN, fracsizey), (0, fracsizey)], P], P, listPointsRZ) → listVRZ

AI Drawing Prompt Reference

Create a card-style layout for comparing fractions. Draw an outer rectangular play area, then subdivide it into equal-height grid cells and form multiple columns of small rectangle blocks. Arrange two groups of fraction tiles side by side by translating repeated block polygons horizontally, so each group represents a different fraction partition. Use vertical and horizontal subdivision lines so the tiles correspond to equal fraction units, and provide two emphasis regions where the compared fractions (and option-like areas) appear within the grid. Add simple text fields or speech-bubble labels near the relevant areas to display the chosen fraction information and a brief prompt about correctness.
The prompt above was compiled from the original drawing commands and is for reference only.