Final Commit
[progcomp2013.git] / agents / python / data / help.txt
1 NAME
2         qchess.py - Play quantum chess
3
4 SYNOPSIS
5         qchess.py [OPTIONS] [white] [black]
6
7 DESCRIPTION
8         An implementation of Quantum Chess as originally described and implemented here:
9         http://research.cs.queensu.ca/Parallel/QuantumChess/QuantumChess.html
10
11         Reimplemented for UCC::Progcomp 2013
12         http://progcomp.ucc.asn.au
13
14         IMPORTANT:
15          - This version does not implement castling or en passen rules.
16          - If a piece currently in a pawn state moves into the opposing back row, that state always becomes a queen.
17             - (The other state of the piece is unaffected).
18
19
20 ARGUMENTS
21
22         If no arguments are given, a window should appear asking you to pick each player.
23         Then the game will commence using default values.
24
25         white, black
26                 Each of the two players in order. They need not be provided if graphics is enabled (default).
27                 
28                 Any arguments that do not begin with a hyphen (-) are treated as the player arguments in the order they appear.
29
30                 Player arguments that begin with '@' are treated as special players:
31
32                 @human
33                         A human player; if graphics are enabled, this players turns are made through the GUI
34
35                 @network[:address]
36                         A player over a network connection. 
37
38                         For example, if black@host1 wants to play white@host2:
39
40                         black@host1:~$ ./qchess.py @network @human
41                         white@host2:~$ ./qchess.py @human @network:host1
42
43                         IMPORTANT: Only ONE of the games should give the other's address.
44
45                 @internal:name
46                         An internal agent player
47
48                         These agents run within the qchess program (unless there is a timeout setting... never mind).
49                         
50                         Choices are:
51                         
52                         AgentRandom - Makes random moves only
53
54                         AgentBishop - Uses probability estimates and a min/max recursive (depth is only one) algorithm
55                                     - Will usually take a long time to run
56
57 OPTIONS
58
59         --help
60                 Print this page
61         
62         --graphics
63                 Enable the GUI
64
65                 If graphics are enabled (default), then the user will be prompted to choose any of the two players not supplied as arguments.
66
67         --no-graphics
68                 Disable the GUI
69                 
70                 
71         --reveal
72                 If graphics are enabled, the two states for pieces will always be shown, regardless of whether both states have been revealed.
73                 Note that this switch only affects the GUI and does not provide any information to agent players.
74
75                 If graphics are disabled, has no effect.
76
77         --file[=filename][:events]
78                 Replay a game saved in file, or read from stdin if no filename given
79                 If a number of events is supplied, the game will advance that many events before stopping.
80
81                 If no players are given, the GUI will NOT ask for player selections.
82                 The game will exit after the replay finishes. Events in the replay will be subject to the normal delay (see --delay).
83
84                 If black and white players are supplied, the game will continue using those players.
85                 In this case, there will be no delays between events in the replay (the game starts at the end of the replay)
86
87                 (We hope that) this feature will be useful for comparing how different versions of an agent respond to the same situation.
88
89         --log[=filename]
90                 Log moves to a file or stdout if no filename given
91
92                 
93
94         --delay[=time]
95                 The game pauses between moves so that it can be followed by a human observer.
96                 This option can be used to change the delay. If no time is given, the delay is disabled.
97
98                 If graphics are enabled (default), the delay is 0.5s by default.
99                 If graphics are disabled, there is no delay unless this option is used.
100
101         --timeout[=time]
102                 Set the maximum time in seconds to wait before declaring an AI program unresponsive.
103                 If no time is given, the timeout is disabled.
104
105                 By default the timeout is disabled.
106                 
107         --blackout[=time]
108                 Setting a blackout time will cause the display to become black if the mouse is not moved and no keys or buttons are pressed.
109                 If no time is given, the blackout time is disabled.
110                 
111                 By default the blackout is disabled.
112                 
113                 This switch was introduced for entirely obscure purposes.
114
115         --classical
116                 If this option is used, the game will treat pieces "classically", ie: as in standard chess.
117                 Note that the game does not enforce rules related to check and checkmate.
118
119         --quantum
120                 The game uses the quantum chess representation of pieces (default).
121
122         
123 AUTHOR
124         Written for the UCC Programming Competition 2013 by Sam Moore.
125         UCC::Progcomp home page: http://progcomp.ucc.asn.au
126
127 REPORTING BUGS
128         Report bugs to [email protected]
129         Join IRC channel #progcomp on irc://irc.ucc.asn.au
130
131 COPYRIGHT
132         Copyright 2013 The University Computer Club, Inc.
133
134         Contact [email protected]
135

UCC git Repository :: git.ucc.asn.au