-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathEjemplo.txt
50 lines (31 loc) · 1.27 KB
/
Ejemplo.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
Pruebas Realizadas!!
*********************************************************
Jugador 1: [cebolla,vara,salto]
postas_directas([cebolla,vara,salto],Resultado).
->[correr, tomate, canto]
anteriores(crema,[cebolla,vara,salto]).
->[correr,pintura]
*********************************************************
Jugador 2: [cebolla,vara,salto,tomate,correr,canto]
postas_directas([cebolla,vara,salto,tomate,correr,canto],Resultado).
->[pintura, bala]
anteriores(tiro,[cebolla,vara,salto,tomate,correr,canto]).
->[pintura,bala,fuerza,crema]
*********************************************************
Jugador 3: []
postas_directas([],Resultado).
->[salto, correr, cebolla, vara]
anteriores(bala,[]).
->[vara,cebolla,canto]
*********************************************************
Jugador 4: [salto,vara]
postas_directas([salto,vara],Resultado).
->[correr, cebolla, tomate]
anteriores(tiro,[salto,vara]).
->[correr,pintura,cebolla,canto,bala,fuerza,crema,tomate]
*********************************************************
Jugador 5: [salto,tomate,correr,pintura]
postas_directas([salto,tomate,correr,pintura],Resultado).
->[cebolla, vara, crema]
anteriores(camino,[salto,tomate,correr,pintura]).
->[vara,cebolla,canto,bala,fuerza,crema,tiro]