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