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