summaryrefslogtreecommitdiff
path: root/TODO
blob: 7bd3796b02c0c90655c3e625dc665396f62ddc53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
- Feature work remaining:

  2.0
    annotations
    chatting
  2.x
    display/database tie-in
    analysis/highlight tools
    bughouse/crazyhouse

----------------------------------------------------------------------

- Have positions remember where both kings are; this will save a lot
  of calls to chess-pos-search

- Make use of the new chess-incr-index*, which does no checks

- Don't popup the display if it's already the currently selected
  window

- Make the drawing/highlighting code just touch single squares, rather
  than redrawing the whole board each time (fast though this is,
  touching single squares is all that's necessary, and it would be
  even faster)

- Fix highlighting in chess-plain when chess-plain-spacing is set.
  chess-coord needs to be applied to a larger area, and also the way
  highlight locations are found needs to be recalculated.

- Change all of the highlighting functions to use properties to find
  out where the highlighting region should begin.

- Move keyboard shortcutting and mouse selection into their own
  modules

- Use chess-ply-set-keyword wherever keywords are being set now.

- Find a way that regexp-alist entries that only need to fire once are
  only scanned once.

- Extend elp.el to do any kind of memory profiling

----------------------------------------------------------------------

- Need to implement the "50 moves after irreversible" draw rule

- The game should go inactive once I lose by stalemate/checkmate

- When a clock runs down, indicate this in the modeline, and all the
  user to call-flag in order to win on time

- Detect draw/resign/abort/retract, etc., from ICS and common engines

- in chess-engine-filter and chess-ics-filter, if an error is
  encountered, skip that line so the same error isn't triggered again

- SPACE to pass, then try to move (against an engine) fails saying
  it's not our turn to move

- Add support for adjournments; also, implement this is such a way
  that an e-mail or postal game is basically a game that's adjourned
  after every move; use BBDB if available

- Allow databases to return a game moniker, which can be used to
  reference that game again

- There needs to be much more robustness; it's too easy to get the
  game into an unplayable state right now

- Break my dependency on cl

- Use more asserts throughout the code

- Read-only mode needs to be more vigorous.  There's nothing
  preventing the user from using M-x commands.

- Complete chess-pgn-mode's automatic entry

- Make any game-modifying commands in a display use C-c C-?

- Use MIME attachments (application/x-chess-pgn) for sending e-mail
  chess games back and forth.

- Copy some of ics.el's nicer functionality into chess-ics.el

- Complete the ICS12 parser, based on Mario's comments

- Add support for ICS observing

- Make the mode-line much more informative, with information on who is
  playing, etc.

- Use server-side sockets in chess-network, if Emacs supports it

- Allow ASCII displays to use a separate frame

- In edit mode, mouse-2 and mouse-3 should provide a drop-down list of
  pieces the square can be set to.  Cursor movement is really not the
  best for chess-images.  I still need to figure out how best to
  handle cursor-type with that display.

- Still need to test many areas: position editing

- Implement engine options; then, in chess-puzzle set the option that
  tells the engine not to resign.

- Remote displays are horribly insecure.

- Resize the chess board on a window resize event, if possible.

- Add chess-game-strip-annotations, for removing all annotations from
  a game object

- Let the user specify a default size for the chess-images display

- Port image display code to XEmacs

			  Training features

- Allow the opponent to give hints.

- Add a warning mode that will use the results of an analysis to warn
  the user (and ask for confirmation) before doing something that
  might lead to an inferior position.

- Add a chess tutor program, to teach people how to play chess

			  Analysis features

- Add an engine function for obtaining an evaluation of the current
  position.  Then, allow M-x chess to startup a non-game oriented
  engine, solely for the purpose of submitting position evaluations,
  and displaying the result in the modeline.  (Also, look at crafty's
  kibitzing feature).

- Add a Map command, that will colorize the squares depending on
  whether they are reachable by either side.  Green if reachable by
  you, Red if by your opponent, and blue if by both.  With a prefix
  argument, colorize only the squares that have pieces on them.  This
  is a stable modes that remains in effect until turned off.  It also
  requires the ability to pass a color to the chessboard highlighting
  routine.

- Using gnuplot-mode, allow evaluation trends to be plotted

- Add an analyze command that will indicate which pieces are defended,
  how well, which are attacked, which moves would increase
  defense/attack/both, etc.  Basically, everything that can be known
  about the current board, and one move ahead (on both sides).

			 BEFORE FINAL RELEASE

  profile
  mem profile
  docstring
  texi
  elint
  checkdoc