Mathematical Modeling of Rock Paper Scissors
Loading the math board and drawing, please wait…
In collections
Rock Paper Scissors type games
This example dynamically demonstrates the Rock Paper Scissors game, showcasing the interaction between probability & statistics and geometric transformations. It involves core math concepts like probability & statistics, geometric construction, transformations, and functions. Construction highlights the use of GeoGebra commands/objects such as LineBisector (angle bisector), Mirror (reflection), Polygon (polygon), PointIn (point on object), Midpoint (midpoint), Centroid (centroid), and If (conditional statements). Suitable for high school and above, ideal for teaching probability & statistics and geometric transformations.
GeoGebra Commands & Parameters
LineBisector(K, L) → fLineBisector(I, J) → gLineBisector(E, F) → hMirror(pic3, f) → rrockMirror(pic1, h) → ppaperMirror(pic2, g) → sscissorsPolygon(M, N, 3) → poly1, i, j, k, OPointIn(poly1) → PPolygon(O, P, M) → t1, m, o, p_1Polygon(O, P, N) → t2, n, o_1, p_2Polygon(M, N, P) → t3, p_3, m_1, n_1Midpoint(p_1) → QMidpoint(p_2) → RMidpoint(p_3) → SCentroid(poly1) → TIf(comp < s, lose = lose + 1) →If(comp > 1 - r, win = win + 1) →If(s ≤ comp ≤ 1 - r, tie = tie + 1) →If(comp < s, lose = lose + 1) →If(comp > 1 - r, win = win + 1) →If(s ≤ comp ≤ 1 - r, tie = tie + 1) →If(comp < s, lose = lose + 1) →If(comp > 1 - r, win = win + 1) →If(s ≤ comp ≤ 1 - r, tie = tie + 1) →If(comp < s, lose = lose + 1) →If(comp > 1 - r, win = win + 1) →If(s ≤ comp ≤ 1 - r, tie = tie + 1) →If(comp < s, lose = lose + 1) →If(comp > 1 - r, win = win + 1) →If(s ≤ comp ≤ 1 - r, tie = tie + 1) →If(comp < s, lose = lose + 1) →If(comp > 1 - r, win = win + 1) →If(s ≤ comp ≤ 1 - r, tie = tie + 1) →If(comp < s, lose = lose + 1) →If(comp > 1 - r, win = win + 1) →If(s ≤ comp ≤ 1 - r, tie = tie + 1) →
AI Drawing Prompt Reference
Create a dynamic model of rock paper scissors. First, draw the angle bisectors of three lines. Then, perform mirror transformations on the images of scissors, rock, and paper. Next, construct a triangle and randomly select a point inside it. Use this point to construct three new triangles, and find their midpoints and centroids. Finally, based on a random number, update the win, lose, and tie counts.
The prompt above was compiled from the original drawing commands and is for reference only.