Dominos
Author: Daniel Mentrard

Voir la réponse

Bien

Moved el punto azul sobre el punto rojo con el ratón para responder.

t = 23 (slider from 0 to 25, step 1)
i: round(random() * t * 100.0)
Pair = Mod(i, 7.0)
C_1 = (0, 35)
D_1 = (15, 35)
F_1 = (0, 25)
Increment: round(t - 1.0)
K_1 = (17.713752088116703, 15.099326188188405)
L_1 = (32.71375208811672, 15.099326188188405)
M_1 = (32.71375208811672, 0.09932618818841377)
N = (17.713752088116703, 0.09932618818841377)
O = (25.388767328367354, 7.3352847535958405)
J_1 = (29.530669375824125, 11.56658037042218)
P_1 = (21, 3)
Q = (30, 12)
R = (25.279508521360103, 7.444543560603093)
S = (21, 3)
T = (21, 12)
U = (30, 12)
V = (21, 3)
W = (30, 3)
Z = (21, 12)
A1 = (30, 12)
B1 = (21, 3)
C1 = (30, 3)
D1 = (25.458295660099246, 7.394880466508886)
E1 = (20.789823952649737, 11.808827913760231)
F1 = (29.66065575237561, 11.808827913760231)
G1 = (29.806079224502266, 2.9379961140343553)
H1 = (25.388767328367354, 2.9649324733057236)
I1 = (20.789823952649737, 2.7925726419077)
J1 = (25.279508521360103, 11.705637033885957)
T2: "Lancer n° " + t
j: round(random() * t * 100.0)
POUR = Mod(j, 7.0)
O1 = (40.575741502375514, 7.444543560603093)
P1 = (36, 3)
Q1 = (45, 12)
R1 = (36, 3)
S1 = (40.575741502375514, 7.226025946588588)
U1 = (45, 12)
V1 = (36, 12)
W1 = (36, 3)
Z1 = (45, 12)
A2 = (45, 3)
B2 = (40.45655007654942, 7.494206654697298)
C2 = (36, 12)
D2 = (45, 12)
E2 = (45, 3)
F2 = (36, 3)
G2 = (40.357223888361005, 12.033413454907716)
H2 = (36, 12)
I2 = (36, 3)
J2 = (45, 12)
K2 = (40.357223888361005, 2.9649324733057236)
L2 = (45, 3)
res = If(Pair ≟ 6.0 ∧ POUR ≟ 6.0, 0.0, If[Pair ≟ 6.0, POUR + 1.0, If[POUR ≟ 6.0, Pair + 1.0, Pair + POUR + 2.0]])
T3: "" + res
f = 1 (slider from 0 to 1, step 1)
K1 = (48, 15)
L1 = (48, 0)
poly1, k, k1, l1, n = Polygon(K_1, K1, L1, N)
a = Segment(L_1, M_1)
B = (39.910256041513186, -11.506893145745869)
D = (81.4286027042693, -23.19758549552193)
E = (56.080559478586615, -9.212458198593557)
G = (62.52682909201454, -17.95316275917379)
H = (103.17110529871262, -13.255034057861916)
I = (54.22315975946332, -26.475349705739518)
J = (89.84153084382777, -7.355058479470258)
L = (99.45630586046602, -25.38276163566699)
K = (46.46578446194836, -19.155009636253574)
C = (76.0749211609139, -14.456880934941697)
F = (90.82486010689304, -18.062421566181044)
A = (39, -27)
P = (66, 6)
M1 = (100.54889393053855, 0.8393520460737111)
M = (72.25086291566005, -30.845701986029635)
text1: "" + i