]> 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 full ICS interaction
10
11 ----------------------------------------------------------------------
12
13 - Have chess-algebraic-to-ply use chess-ply-create, since I can't
14 trust :check and :checkmate anyway. Or, break chess-ply-create into
15 multiple functions that get reused by chess-algebraic.
16
17 - Make sure that when chess-algebraic-to-ply is used, and then
18 chess-pos-move is used, that I don't redo all the checks. There
19 should be a way of "blessing" a ply.
20
21 - Make sure chess-pos-move does full validation.
22
23 - Make sure that chess-search-position can find a rook move due to
24 castling. For example, O-O includes Rhf1. So,
25 (chess-search-position ... "f1" ?R) should return the h1 rook, if it
26 could reach that square legally by castling.
27
28 - There is an ambiguity in keyboard shortcutting between Bxc6 and bxc6
29
30 - In chess-fen-to-pos, syntax check incoming FEN strings
31
32 - Detect draw/resign/abort/retract, etc., from ICS and common engines
33
34 - Make use of the my-color and active data in chess-game.el to ensure
35 that I only do what I should be doing
36
37 - Add `chess-display-read-only', to indicate that no changes can be
38 made to a displayed chess board. This would be good for cloned
39 displays, and when observing a bot (or two engines head-to-head).
40
41 - Remove `chess-illegal', and just use plain error.
42
43 - Allow S in the display to send arbitrary text to the end
44
45 - Make chess-display-popup-in-... first class citizens
46
47 - Have chess-display-popup-in-frame autosize based on the content (if
48 possible)
49
50 ----------------------------------------------------------------------
51
52 - Read-only mode needs to be a bit more vigorous. There's nothing
53 preventing the user from using M-x commands.
54
55 - Add an engine function for obtaining an evaluation of the current
56 position. Then, allow M-x chess to startup a non-game oriented
57 engine, solely for the purpose of submitting position evaluations,
58 and displaying the result in the modeline. (Also, look at crafty's
59 kibitzing feature).
60
61 - Complete chess-pgn-mode
62
63 - Write a chess-database.el interface, and then add chess-lisp.el,
64 chess-file.el (PGN games in a flat file) and chess-scid.el
65
66 - Use MIME attachments (application/x-chess-pgn) for sending e-mail
67 chess games back and forth. Add code for special MIME handling of
68 this type in Gnus.
69
70 - Clean/rewrite ics.el
71
72 - Add support for ICS observing
73
74 - Make the mode-line much more informative, with information on who is
75 playing, etc.
76
77 - Add CTCP (optional) support to chess-irc.el
78
79 - Turn on memory gc collection messages, and see how much of a pig
80 chess.el is
81
82 - Make as much of chess-game/ply/pos, etc., defsubst as possible.
83
84 - Create a series of generic functions and predicates, so that users
85 can say (chess-position OBJECT) or (chess-move OBJECT), without
86 needing to know the type of OBJECT.
87
88 - Change chess-display-set-... to chess-display-set, and make it use
89 the new generic functions.
90
91 - Use server-side sockets in chess-network, if Emacs supports it
92
93 - Support auto-saving of games to PGN, and saving them at appropriate
94 points; this will require database interaction support
95
96 - Allow ASCII displays to use a separate frame
97
98 - In edit mode, mouse-2 and mouse-3 should provide a drop-down list of
99 pieces the square can be set to. Cursor movement is really not the
100 best for chess-images. I still need to figure out how best to
101 handle cursor-type with that display.
102
103 - Still need to test many areas: position editing
104
105 - Implement engine options; then, in chess-puzzle set the option that
106 tells the engine not to resign.
107
108 - Add a display command for writing out the currently displayed game
109 to a file. It will use PGN for games, and FEN for positions.
110
111 - Remote displays are horribly insecure.
112
113 - When editing the board in display mode (or doing speculative moves),
114 doing them on a copy of the board with no hook except the display
115 hook. Then, if you like the result, it call be a `set' on the
116 original board from the copied board.
117
118 - Resize the chess board on a window resize event, if possible.
119
120 - Have a display option that shows legal target squares whenever a
121 piece is selected.
122
123 - Add chess-game-strip-annotations, for removing all annotations from
124 a game object
125
126 - Add a module for chatting between opponents
127
128 - Let the user specify a default size for the chess-images display
129
130 - Allow dragging of pieces
131
132 - Need to check for chess engine resignations
133
134 - Need a chess-clock.el module, especially for playing on ICS
135
136 - Port image display code to XEmacs
137
138 - Support chess by mail, with direct tie-ins to Gnus/RMAIL.
139
140 - Allow the opponent to give hints.
141
142 - Add a command that will load a saved game, continue it, and then
143 enter a move for whichever color is next to play. This would make
144 it trivial to add chess drivers to AIM, IRC, etc. The mere command
145 "!chess johnw37 Nf3" would mean: load the chess game johnw37, and
146 make my move as Nf3. It would also make chess by e-mail a snap to
147 implement.
148
149 - Add an analyze command that will indicate which pieces are defended,
150 how well, which are attacked, which moves would increase
151 defense/attack/both, etc. Basically, everything that can be known
152 about the current board, and one move ahead (on both sides).
153
154 - Add a warning mode that will use the results of an analysis to warn
155 the user (and ask for confirmation) before doing something that
156 might lead to an inferior position.
157
158 - Create chess-player.el, which creates persistent objects that
159 encapsulate information about any player: where he is, his name, his
160 opponent type, etc. This would maintain a log of games against that
161 player, their current chess rating, etc. Then, M-x chess would ask
162 you for a player, not an opponent.
163
164 - Add a Map command, that will colorize the squares depending on
165 whether they are reachable by either side. Green if reachable by
166 you, Red if by your opponent, and blue if by both. With a prefix
167 argument, colorize only the squares that have pieces on them. This
168 is a stable modes that remains in effect until turned off. It also
169 requires the ability to pass a color to the chessboard highlighting
170 routine.
171
172 - If a person selects a piece with the mouse, then uses right-click to
173 designate a target square, display the resulting board without
174 making a move. This requires copying chessboard-current-board to
175 chessboard-draft-board. If the user right-clicks without selecting
176 a piece, it will reset to chessboard-current-board and redraw.
177
178 - Using gnuplot-mode, allow evaluation trends to be plotted
179
180 BEFORE FINAL RELEASE
181
182 profile, mem profile, doc, lint, checkdoc