Smart Rock Paper Scissors Lizard Spock

Smart Rock Paper Scissors Lizard Spock
Loading the math board and drawing, please wait…
2017-10-02 04:12
① This example demonstrates an interactive implementation of the extended game 'Rock Paper Scissors Lizard Spock' in GeoGebra, where a player competes against the computer and the last 10 moves are recorded. ② Core mathematical concepts include probability and statistics (random moves, frequency counting), logarithmic and exponential functions (possibly used for smart strategies or scoring), Poisson distribution (for modeling random events), step functions (for discrete state transitions), and dilation transformations. ③ Construction highlights: from the summary, commands such as Circle, Last, Max, Reverse, If, TableText, Sort, and Length are used; objects include multiple points (A to T), an image (pic1), a button (button1), a list for the last 10 plays (last10play), and counters for each choice (cpaper, cscissors, clizard, crock, cspock). Conditional logic via If determines win/loss, and TableText displays results. ④ Suitable for middle school and above, this serves as a fun way to explore probability, algorithmic thinking, and interactive GeoGebra design.

GeoGebra Commands & Parameters

  1. Circle(C, D) → sp
  2. Circle(E, Radius[sp]) → ro
  3. Circle(F, Radius[sp]) → pa
  4. Circle(G, Radius[sp]) → sc
  5. Circle(H, Radius[sp]) → li
  6. Last(play, Min[10, Length[play]]) → last10play
  7. Max(L1) → a
  8. Reverse(Sort[L1]) → L2
  9. If(A1, "Lizard", "Z") → B1
  10. If(A2, "Paper", "Z") → B2
  11. If(A3, "Rock", "Z") → B3
  12. If(A4, "Scissors", "Z") → B4
  13. If(A5, "Spock", "Z") → B5
  14. TableText({Join[{{"Player's Last 10:"}, Reverse[last10play]}]}) → text2
  15. TableText({Join[{{"Player's Last 10:"}, last10play}]}) → text1
  16. Sort({B1, B2, B3, B4, B5}) → L4
  17. Last(comp, Min[10, Length[comp]]) → L5
  18. TableText({Join[{{"Player's Last 10:"}, L3}], Join[{{"Computer's Last 10:"}, L5}]}) → text3
  19. Length(comp) → d
  20. Length(play) → e

AI Drawing Prompt Reference

Create an interactive graphic showing the extended 'Rock Paper Scissors Lizard Spock' game, featuring player vs computer matchups and strategy analysis. Include circles representing different gestures, lists tracking the last 10 moves for both player and computer, and text displays for win/loss outcomes. Implement sliders and conditional logic for random choices and strategy calculations, along with charts for probability statistics and function relationships.
The prompt above was compiled from the original drawing commands and is for reference only.