Spaceship Racing Game by Ms. Muusse

Spaceship Racing Game by Ms. Muusse
Loading the math board and drawing, please wait…
2018-06-10 06:48
This example simulates a spaceship racing game to demonstrate mathematical concepts such as addition, integers, subtraction, sine functions, step functions, and trigonometric functions. Using GeoGebra commands like Intersect, Point, and Segment, dynamic mathematical graphics can be constructed. Suitable for middle school and above students.

GeoGebra Commands & Parameters

  1. Intersect(xAxis, yAxis) → A
  2. Point(xAxis) → B
  3. Segment(A, B) → f
  4. Point(yAxis) → C
  5. Segment(C, D) → g
  6. Semicircle(D, B) → c
  7. Semicircle(A, C) → d
  8. LaTeX(Text[RandNum1]) → DisplayRandNum1
  9. LaTeX(Text[RandNum2]) → DisplayRandNum2
  10. LaTeX(Text[RandAns]) → DisplayRandAns
  11. RandomElement(ListOfSymbols) → DiceRoll
  12. Text("test") → DisplaySymbol
  13. LaTeX(Text[RandAnsFake1]) → DisplayRandAnsFake1
  14. LaTeX(Text[RandAnsFake2]) → DisplayRandAnsFake2
  15. RandomElement({1, 2, 3}) → FakeRoll1
  16. RandomElement({1, 2, 3}) → FakeRoll2
  17. Circle((0.5, 1.5), 0.6) → CircOutline1
  18. Circle((2, 1.5), 0.6) → CircOutline2
  19. Circle((3.5, 1.5), 0.6) → CircOutline3
  20. Shuffle(ListOfPoints) → ListOfPointsShuffled
  21. Circle(Point1, 0.6) → TouchArea1
  22. Circle(Point2, 0.6) → TouchArea2
  23. Circle(Point3, 0.6) → TouchArea3
  24. LaTeX(Text["Incorrect\ Answers: " + Incorrect]) → DisplayIncorrect
  25. Sequence(Element[TimesList, 1 + i] - Element[TimesList, i], i, 1, Length[TimesList] - 1) → OldAverageSpeedList
  26. LaTeX(Text["Your\ Score: " + Score]) → DisplayScore
  27. Segment((0, -0.25), (0, 0.45)) → startsegment
  28. Segment((-2.35, 2), (-1.55, 2)) → endsegment
  29. Text("Finish") → EndText
  30. LaTeX(Text["Try\ to\ beat\ your\ opponent\ spaceship\ by\\\ \\answering\ questions\ as\ quickly\ as\ possible!"]) → feedback

AI Drawing Prompt Reference

Draw a spaceship racing game scene with two axes, where the x-axis and y-axis intersect at the origin. Draw a line segment AB on the x-axis and a line segment CD on the y-axis. Draw semicircles with B and D as centers. Randomly generate two numbers and display them on the graph. Draw three small circles as touch areas at (0.5, 1.5), (2, 1.5), and (3.5, 1.5). Draw a line segment below the x-axis as the starting point and another above the x-axis as the ending point, with the word 'Finish' written at the end. Finally, display 'Try to beat your opponent spaceship by answering questions as quickly as possible!' on the graph.
The prompt above was compiled from the original drawing commands and is for reference only.