]> code.delx.au - gnu-emacs-elpa/blob - TODO
*** no comment ***
[gnu-emacs-elpa] / TODO
1 - Feature work remaining:
2
3 annotations
4 chatting
5 clocks
6 bughouse/crazyhouse
7 analysis/highlight tools
8 database interaction (chess-file.el, chess-scid.el)
9
10 ----------------------------------------------------------------------
11
12 - undo is not working with gnuchess
13
14
15 - test making an en passant capture
16
17
18 - if I parse disambiguating information from chess-algebraic, store it
19 in the ply. Then, in ply-to-algebraic it won't need to be
20 calculated. Also, I can then easily announce it in chess-announce
21
22 - when announcing abiguous pieces, name the rank/file ("e pawn")
23
24
25 - restrict keyboard shorcutting so that it only looks if the move is
26 related to the given letter
27
28 - modify displays and engines so they ONLY keep game objects; thus
29 set-start-position would become just set-position
30
31 - Why doesn't S-b produce [B] in the keyboard shortcutting?
32
33
34 - distinguish between chess-display-set-game and
35 chess-display-set-game*. The latter detaches and sets a new game
36 object. The former just overwrites the current game object.
37
38
39 - the game should go inactive once I lose by stalemate/checkmate
40
41 - detect draw/resign/abort/retract, etc., from ICS and common engines
42
43
44 - in chess-ply-create signal an error on invalid plies describing why
45
46 - for network transports, if an illegal move is encountered, report
47 this with "illegal move: REASON"
48
49
50 - incorporate the .wav files from xchat's sounds that chess-sound
51 currently doesn't have
52
53
54 - devise a better scheme for printing messages (use a catalog?) and
55 for when engines need to ask questions
56
57 - there needs to be much more robustness; it's too easy to get the
58 game into an unplayable state right now
59
60 - in chess-engine-filter and chess-ics-filter, if an error is
61 encountered, skip that line so the same error isn't triggered again
62
63 - in chess-ics use a server-alist, and make the default handle be
64 "guest". Allow a password to be specified, or a filename containing
65 the password
66
67 (HOST [PORT HANDLE PASSWORD HELPER HELPER-ARGS...])
68
69 ----------------------------------------------------------------------
70
71 - Break my dependency on cl
72
73 - Use more asserts throughout the code
74
75 - Read-only mode needs to be a bit more vigorous. There's nothing
76 preventing the user from using M-x commands.
77
78 - Add an engine function for obtaining an evaluation of the current
79 position. Then, allow M-x chess to startup a non-game oriented
80 engine, solely for the purpose of submitting position evaluations,
81 and displaying the result in the modeline. (Also, look at crafty's
82 kibitzing feature).
83
84 - Complete chess-pgn-mode
85
86 - Write a chess-database.el interface, and then add chess-lisp.el,
87 chess-file.el (PGN games in a flat file) and chess-scid.el
88
89 - Use MIME attachments (application/x-chess-pgn) for sending e-mail
90 chess games back and forth. Add code for special MIME handling of
91 this type in Gnus.
92
93 - Copy some of ics.el's nicer functionality into chess-ics.el
94
95 - Add support for ICS observing
96
97 - Make the mode-line much more informative, with information on who is
98 playing, etc.
99
100 - Turn on memory gc collection messages, and see how much of a pig
101 chess.el is
102
103 - make sure, if Bxc6 and bxc6 are possible, and the user types "bc6",
104 that bxc6 is chosen
105
106 - Make as much of chess-game/ply/pos, etc., defsubst as possible.
107
108 - Create a series of generic functions and predicates, so that users
109 can say (chess-position OBJECT) or (chess-move OBJECT), without
110 needing to know the type of OBJECT.
111
112 - Change chess-display-set-... to chess-display-set, and make it use
113 the new generic functions.
114
115 - Use server-side sockets in chess-network, if Emacs supports it
116
117 - Support auto-saving of games to PGN, and saving them at appropriate
118 points; this will require database interaction support
119
120 - Allow ASCII displays to use a separate frame
121
122 - In edit mode, mouse-2 and mouse-3 should provide a drop-down list of
123 pieces the square can be set to. Cursor movement is really not the
124 best for chess-images. I still need to figure out how best to
125 handle cursor-type with that display.
126
127 - Still need to test many areas: position editing
128
129 - Implement engine options; then, in chess-puzzle set the option that
130 tells the engine not to resign.
131
132 - Add a display command for writing out the currently displayed game
133 to a file. It will use PGN for games, and FEN for positions.
134
135 - Remote displays are horribly insecure.
136
137 - When editing the board in display mode (or doing speculative moves),
138 doing them on a copy of the board with no hook except the display
139 hook. Then, if you like the result, it call be a `set' on the
140 original board from the copied board.
141
142 - Resize the chess board on a window resize event, if possible.
143
144 - Have a display option that shows legal target squares whenever a
145 piece is selected.
146
147 - Add chess-game-strip-annotations, for removing all annotations from
148 a game object
149
150 - Add a module for chatting between opponents
151
152 - Let the user specify a default size for the chess-images display
153
154 - Allow dragging of pieces
155
156 - Need to check for chess engine resignations
157
158 - Need a chess-clock.el module, especially for playing on ICS
159
160 - Port image display code to XEmacs
161
162 - Support chess by mail, with direct tie-ins to Gnus/RMAIL.
163
164 - Allow the opponent to give hints.
165
166 - Add a command that will load a saved game, continue it, and then
167 enter a move for whichever color is next to play. This would make
168 it trivial to add chess drivers to AIM, IRC, etc. The mere command
169 "!chess johnw37 Nf3" would mean: load the chess game johnw37, and
170 make my move as Nf3. It would also make chess by e-mail a snap to
171 implement.
172
173 - Add an analyze command that will indicate which pieces are defended,
174 how well, which are attacked, which moves would increase
175 defense/attack/both, etc. Basically, everything that can be known
176 about the current board, and one move ahead (on both sides).
177
178 - Add a warning mode that will use the results of an analysis to warn
179 the user (and ask for confirmation) before doing something that
180 might lead to an inferior position.
181
182 - Create chess-player.el, which creates persistent objects that
183 encapsulate information about any player: where he is, his name, his
184 opponent type, etc. This would maintain a log of games against that
185 player, their current chess rating, etc. Then, M-x chess would ask
186 you for a player, not an opponent.
187
188 - Add a Map command, that will colorize the squares depending on
189 whether they are reachable by either side. Green if reachable by
190 you, Red if by your opponent, and blue if by both. With a prefix
191 argument, colorize only the squares that have pieces on them. This
192 is a stable modes that remains in effect until turned off. It also
193 requires the ability to pass a color to the chessboard highlighting
194 routine.
195
196 - If a person selects a piece with the mouse, then uses right-click to
197 designate a target square, display the resulting board without
198 making a move. This requires copying chessboard-current-board to
199 chessboard-draft-board. If the user right-clicks without selecting
200 a piece, it will reset to chessboard-current-board and redraw.
201
202 - Using gnuplot-mode, allow evaluation trends to be plotted
203
204 BEFORE FINAL RELEASE
205
206 profile, mem profile, doc, lint, checkdoc