]> 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 now is 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 any .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 - Add CTCP (optional) support to chess-irc.el
91
92 - Turn on memory gc collection messages, and see how much of a pig
93 chess.el is
94
95 - Make as much of chess-game/ply/pos, etc., defsubst as possible.
96
97 - Create a series of generic functions and predicates, so that users
98 can say (chess-position OBJECT) or (chess-move OBJECT), without
99 needing to know the type of OBJECT.
100
101 - Change chess-display-set-... to chess-display-set, and make it use
102 the new generic functions.
103
104 - Use server-side sockets in chess-network, if Emacs supports it
105
106 - Support auto-saving of games to PGN, and saving them at appropriate
107 points; this will require database interaction support
108
109 - Allow ASCII displays to use a separate frame
110
111 - In edit mode, mouse-2 and mouse-3 should provide a drop-down list of
112 pieces the square can be set to. Cursor movement is really not the
113 best for chess-images. I still need to figure out how best to
114 handle cursor-type with that display.
115
116 - Still need to test many areas: position editing
117
118 - Implement engine options; then, in chess-puzzle set the option that
119 tells the engine not to resign.
120
121 - Add a display command for writing out the currently displayed game
122 to a file. It will use PGN for games, and FEN for positions.
123
124 - Remote displays are horribly insecure.
125
126 - When editing the board in display mode (or doing speculative moves),
127 doing them on a copy of the board with no hook except the display
128 hook. Then, if you like the result, it call be a `set' on the
129 original board from the copied board.
130
131 - Resize the chess board on a window resize event, if possible.
132
133 - Have a display option that shows legal target squares whenever a
134 piece is selected.
135
136 - Add chess-game-strip-annotations, for removing all annotations from
137 a game object
138
139 - Add a module for chatting between opponents
140
141 - Let the user specify a default size for the chess-images display
142
143 - Allow dragging of pieces
144
145 - Need to check for chess engine resignations
146
147 - Need a chess-clock.el module, especially for playing on ICS
148
149 - Port image display code to XEmacs
150
151 - Support chess by mail, with direct tie-ins to Gnus/RMAIL.
152
153 - Allow the opponent to give hints.
154
155 - Add a command that will load a saved game, continue it, and then
156 enter a move for whichever color is next to play. This would make
157 it trivial to add chess drivers to AIM, IRC, etc. The mere command
158 "!chess johnw37 Nf3" would mean: load the chess game johnw37, and
159 make my move as Nf3. It would also make chess by e-mail a snap to
160 implement.
161
162 - Add an analyze command that will indicate which pieces are defended,
163 how well, which are attacked, which moves would increase
164 defense/attack/both, etc. Basically, everything that can be known
165 about the current board, and one move ahead (on both sides).
166
167 - Add a warning mode that will use the results of an analysis to warn
168 the user (and ask for confirmation) before doing something that
169 might lead to an inferior position.
170
171 - Create chess-player.el, which creates persistent objects that
172 encapsulate information about any player: where he is, his name, his
173 opponent type, etc. This would maintain a log of games against that
174 player, their current chess rating, etc. Then, M-x chess would ask
175 you for a player, not an opponent.
176
177 - Add a Map command, that will colorize the squares depending on
178 whether they are reachable by either side. Green if reachable by
179 you, Red if by your opponent, and blue if by both. With a prefix
180 argument, colorize only the squares that have pieces on them. This
181 is a stable modes that remains in effect until turned off. It also
182 requires the ability to pass a color to the chessboard highlighting
183 routine.
184
185 - If a person selects a piece with the mouse, then uses right-click to
186 designate a target square, display the resulting board without
187 making a move. This requires copying chessboard-current-board to
188 chessboard-draft-board. If the user right-clicks without selecting
189 a piece, it will reset to chessboard-current-board and redraw.
190
191 - Using gnuplot-mode, allow evaluation trends to be plotted
192
193 BEFORE FINAL RELEASE
194
195 profile, mem profile, doc, lint, checkdoc