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