1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-31 17:30:54 -08:00
Commit graph

25 commits

Author SHA1 Message Date
Karl Heuer
3e9103768f Update comment. 1998-12-14 03:22:44 +00:00
Stephen Eglen
323f7c491f Customized. 1998-04-05 16:14:58 +00:00
Richard M. Stallman
2b38b48703 Comment change. 1997-09-21 12:34:40 +00:00
Richard M. Stallman
d7ab271893 (gomoku-click): Position on nearest square. Adapt keymap accordingly.
(gomoku-mouse-play): Use it to play nearest to mouse click.
(gomoku-terminate-game): Factorize messages.
(gomoku): Allow interactive passing of board size.  Don't make a fuss
about restarting a game that hasn't progressed.
(gomoku-offer-a-draw): Give user the choice it pretended to give.
(gomoku-point-x): Deleted function.
(gomoku-point-y, gomoku-point-square): Simplified because point is
always on a square.
(gomoku-goto-xy, gomoku-plot-square): Fix line count due to
intangible newlines.
(gomoku-init-display): Once again fairly fast due to minimization of
characters in buffer and text-property operations.  Cursor cannot be
be off a square.
(gomoku-display-statistics): Simplified equivalently.
(gomoku-winning-qtuple-beg, gomoku-winning-qtuple-end)
(gomoku-winning-qtuple-dx, gomoku-winning-qtuple-dy): Pseudo variables
only used for non-functional argument passing deleted.
(gomoku-cross-winning-qtuple): Accordingly deleted function and
(gomoku-check-filled-qtuple): Accordingly adapted.
(gomoku-cross-qtuple): Don't be confused by tabs.
(gomoku-move-down, gomoku-move-up): Simplified because point is always
on square.
(gomoku-beginning-of-line, gomoku-end-of-line): New commands necessary
because intangible newlines perverted these.
1996-04-05 19:38:42 +00:00
Richard M. Stallman
f201b69e8c Comment change. 1996-03-24 13:14:21 +00:00
Richard M. Stallman
f5ecf0c903 Ancient leading comment removed.
(gomoku-mode-map): Added numeric keypad for 8 directions, changed
comments to lowercase (C-c rather than C-C), added SPC to play and
undo's binding to go back.
(gomoku-emacs-won, gomoku-font-lock-O-face, gomoku-font-lock-X-face)
(gomoku-font-lock-keywords):  New variables.
(gomoku-mode): Use it and make buffer read-only for user.
(gomoku-terminate-game): Remove (ding) -- maybe should be optonal.
(gomoku-init-display): Rewritten, makes fields intangible so you
can't go in between.  Make free fields have mouse-face.
(gomoku-cross-qtuple): Take account of intangible text, and that
empty lines are now really empty.
(gomoku-move-left, gomoku-move-right): Removed thanks to intangibility.
(gomoku-move-ne, -se, -nw, -sw): Use normal left / right motion.
1996-03-22 20:43:05 +00:00
Erik Naggum
b578f267af Update FSF's address. 1996-01-14 07:34:30 +00:00
Karl Heuer
a7acbbe4d4 Comment fixes. 1996-01-05 22:21:28 +00:00
Karl Heuer
fe2bf2c299 Fix spelling of author's name. 1995-05-04 18:54:55 +00:00
Karl Heuer
3122bee9f9 (gomoku-human-plays): Change to C-c C-p.
(gomoku-human-takes-back): Change to C-c C-b.
(gomoku-human-resigns): Change to C-c C-r.
(gomoku-emacs-plays): Change to C-c C-e.
1995-05-02 23:52:13 +00:00
Karl Heuer
1faea684f8 (gomoku-display-statistics): Use force-mode-line-update. 1995-04-25 22:20:30 +00:00
Richard M. Stallman
65091471be (gomoku-click): New function.
(gomoku-mode-map): Put it on Mouse-2.
1994-11-19 14:52:57 +00:00
Richard M. Stallman
d9a62b4c38 (gomoku-display-statistics): Use human's point of view
for wins and losses.
(gomoku-number-of-emacs-wins): Renamed from gomoku-number-of-wins.
(gomoku-number-of-human-wins): Renamed from gomoku-number-losses.
1994-06-05 17:36:02 +00:00
Karl Heuer
8f1204db34 Update copyright. 1994-05-03 23:47:06 +00:00
Richard M. Stallman
0720cc69b6 (gomoku-init-display, gomoku-put-char):
Bind inhibit-read-only; don't set buffer-read-only.
1994-02-07 06:05:31 +00:00
Paul Eggert
f7e55318b4 (random-number): Remove.
All callers changed to use `random' instead.
1993-08-01 20:50:07 +00:00
Richard M. Stallman
d9a7a8f53e (gomoku): Make it autoload. 1992-09-26 22:49:36 +00:00
Jim Blandy
e8a57935cb entered into RCS 1992-08-04 04:15:43 +00:00
Eric S. Raymond
3a801d0c71 *** empty log message *** 1992-07-22 04:22:42 +00:00
Eric S. Raymond
e516799970 *** empty log message *** 1992-07-16 21:47:34 +00:00
Eric S. Raymond
1a06eabd17 *** empty log message *** 1992-05-30 23:12:08 +00:00
Jim Blandy
49116ac071 *** empty log message *** 1992-03-16 20:39:07 +00:00
Jim Blandy
92423534d9 *** empty log message *** 1991-03-05 23:01:17 +00:00
Joseph Arceneaux
4a07a2afa9 *** empty log message *** 1990-03-06 16:44:57 +00:00
Joseph Arceneaux
a2535589a9 Initial revision 1989-10-31 16:00:07 +00:00