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