dog-impossible.tarottest 3.77 KB
Newer Older
Vivien Kraus's avatar
Vivien Kraus committed
1
<?xml version="1.0"?>
2
3
4
5
6
<!-- tarot implements the rules of the tarot game
Copyright (C) 2019  Vivien Kraus

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
7
the Free Software Foundation, version 3 of the License.
8
9
10
11
12
13
14
15
16
17

This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
-->

Vivien Kraus's avatar
Vivien Kraus committed
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
<test xmlns="http://planete-kraus.eu/tarot">
  <status>
    <step step="dog" />
    <n-players n="5" />
    <with-call with-call="yes" />
    <n-tricks n="15" />
    <no-next />
    <has-main-player player="P5" />
    <has-deal-of player="P5">
      <card card="CH" />
      <card card="QH" />
      <card card="KH" />
      <card card="8C" />
      <card card="AD" />
      <card card="2D" />
      <card card="QD" />
      <card card="KD" />
      <card card="1T" />
      <card card="4T" />
      <card card="8T" />
      <card card="9T" />
      <card card="13T" />
      <card card="20T" />
      <card card="21T" />
    </has-deal-of>
    <has-cards player="P5">
      <card card="CH" />
      <card card="QH" />
      <card card="KH" />
      <card card="8C" />
      <card card="AD" />
      <card card="2D" />
      <card card="QD" />
      <card card="KD" />
      <card card="1T" />
      <card card="4T" />
      <card card="8T" />
      <card card="9T" />
      <card card="13T" />
      <card card="20T" />
      <card card="21T" />
    </has-cards>
    <has-bids>
      <bid bid="take" />
      <bid bid="pass" />
      <bid bid="pass" />
      <bid bid="pass" />
      <bid bid="push" />
    </has-bids>
    <has-taker player="P5" />
    <has-declarations>
      <decl decl="slam" />
      <decl decl="pass" />
      <decl decl="pass" />
      <decl decl="pass" />
      <decl decl="pass" />
    </has-declarations>
    <has-declarant player="P1" />
    <has-call call="KC" />
    <no-partner />
    <no-dog />
    <no-full-discard />
    <no-public-discard />
    <no-handful player="P1" />
    <no-handful player="P2" />
    <no-handful player="P3" />
    <no-handful player="P4" />
    <no-current-trick trick="0" />
    <no-lead-suit trick="0" />
    <no-lead-suit trick="1" />
    <no-lead-suit trick="14" />
    <no-max-trump trick="0" />
    <no-max-trump trick="1" />
    <no-max-trump trick="14" />
    <no-trick-leader trick="0" />
    <no-trick-leader trick="1" />
    <no-trick-leader trick="14" />
    <no-trick-taker trick="0" taker="P6" />
    <no-trick-taker trick="1" taker="P6" />
    <no-trick-taker trick="14" taker="P6" />
    <no-trick-cards trick="0" />
    <no-trick-cards trick="1" />
    <no-trick-cards trick="14" />
    <no-points-in-trick trick="0" />
    <no-points-in-trick trick="1" />
    <no-points-in-trick trick="14" />
    <no-scores />
    <no-hint-bid />
    <no-hint-decl />
    <no-hint-call />
    <no-hint-discard />
    <no-hint-handful />
    <no-hint-card />
    <cannot-autoreveal />
  </status>
  <game>
    <setup n-players="5" with-call="yes"/>
    <deal to="P5">
      <card card="CH"/>
      <card card="QH"/>
      <card card="KH"/>
      <card card="8C"/>
      <card card="AD"/>
      <card card="2D"/>
      <card card="QD"/>
      <card card="KD"/>
      <card card="1T"/>
      <card card="4T"/>
      <card card="8T"/>
      <card card="9T"/>
      <card card="13T"/>
      <card card="20T"/>
      <card card="21T"/>
    </deal>
    <bid bid="take"/>
    <bid bid="pass"/>
    <bid bid="pass"/>
    <bid bid="pass"/>
    <bid bid="push"/>
    <decl slam="yes"/>
    <call card="KC"/>
  </game>
</test>