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
|
- Allow the user to retract a move when playing against an engine
- 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.
- There is presently no way to start a new game!
- Still need to test many areas:
position editing
- Resize ascii windows after popup, so that the whole board is
minimally visible
- Need a way to resign, request a draw, etc.
- Implement engine options; then, in chess-puzzle set the option that
tells the engine not to resign.
- Add a display command for writing out the currently displayed game
to a file. It will use PGN for games, and FEN for positions.
- Auto-raise the chess-images frame, if it's being displayed as a
separate frame.
- Create a to-text rendering interface for all chess game objects.
So, chess-game-to-string would use PGN, etc.
- Remove displays are horribly insecure.
- When editing the board in display mode (or doing speculative moves),
doing them on a copy of the board with no hook except the display
hook. Then, if you like the result, it call be a `set' on the
original board from the copied board.
- Make the mode-line much more informative
- Resize the chess board on a window resize event, if possible.
- Have a display option that shows legal target squares whenever a
piece is selected.
- add chess-game-strip-annotations, for removing all annotations from
a game object
- add a module for chatting between opponents
- M-w on a display should kill appropriately (i.e., kill to PGN for a
game, to FEN for a position, etc). C-y should likewise call the
appropriate chess-display-set-... function based on the clipboard's
contents. Which might just be a plain algebraic string too!
- Let the user specify a default size for the chess-images display
- Allow dragging of pieces
- check for chess engine resignations
----------------------------------------------------------------------
- Port image display code to XEmacs
- Tie-in to ics.el, by adding "Internet opponent" to the opponents
list.
- Add a way to set the time control, and display its status.
- Support chess by mail, with direct tie-ins to Gnus/RMAIL.
- Allow the opponent to give hints.
- Add a command that will load a saved game, continue it, and then
enter a move for whichever color is next to play. This would make
it trivial to add chess drivers to AIM, IRC, etc. The mere command
"!chess johnw37 Nf3" would mean: load the chess game johnw37, and
make my move as Nf3. It would also make chess by e-mail a snap to
implement.
- 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).
- 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.
- Create chess-player.el, which creates persistent objects that
encapsulate information about any player: where he is, his name, his
opponent type, etc. This would maintain a log of games against that
player, their current chess rating, etc. Then, M-x chess would ask
you for a player, not an opponent.
- 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.
- If a person selects a piece with the mouse, then uses right-click to
designate a target square, display the resulting board without
making a move. This requires copying chessboard-current-board to
chessboard-draft-board. If the user right-clicks without selecting
a piece, it will reset to chessboard-current-board and redraw.
|