Última atividade 3 weeks ago

kapunta's Avatar kapunta revisou este gist 3 weeks ago. Ir para a revisão

1 file changed, 39 insertions

rps.nova(arquivo criado)

@@ -0,0 +1,39 @@
1 + |- rock paper scissors -|
2 +
3 + || :i have: paper
4 + :you have: scissors
5 + :let's play:
6 +
7 + || :beats: rock scissors
8 + :beats: scissors paper
9 + :beats: paper rock
10 +
11 + | :i have: $mine
12 + :you have: $yours
13 + :has beat: $yours $mine |
14 + :result: you win.
15 +
16 + | :i have: $mine
17 + :you have: $yours
18 + :has beat: $mine $yours |
19 + :result: i win.
20 +
21 + | :i have: $mine?
22 + :you have: $yours?
23 + :let's play: |
24 + :compare: $mine to $yours
25 +
26 + | :compare: $a to $b
27 + :beats: $a $b |
28 + :has beat: $a $b
29 + | :compare: $a to $b
30 + :beats: $b $a |
31 + :has beat: $b $a
32 +
33 + | :compare something else:
34 + :beats: $a $b |
35 + | :compare something else:
36 + :compare: $a to $b |
37 + :result: the tournament has not encountered such combination in its history.
38 + | :compare: $a to $b? |
39 + :compare something else:
Próximo Anterior