;ELC   
;;; compiled by rms@mole.gnu.ai.mit.edu on Fri Apr  5 16:12:11 1996
;;; from file /gd/gnu/emacs/19.0/lisp/gomoku.el
;;; emacs version 19.30.95.1.
;;; bytecomp version FSF 2.10
;;; optimization is on.
;;; this file uses opcodes which do not exist in Emacs 18.

(if (and (boundp 'emacs-version)
	 (or (and (boundp 'epoch::version) epoch::version)
	     (string-lessp emacs-version "19.29")))
    (error "`gomoku.el' was compiled for Emacs 19.29 or later"))


#@58 If non-nil, its value is called on entry to Gomoku mode.
(defvar gomoku-mode-hook nil (#$ . 471))
#@37 Local keymap to use in Gomoku mode.
(defvar gomoku-mode-map nil (#$ . 575))
(byte-code " ################################## $ $ $ $ $ $" [gomoku-mode-map make-sparse-keymap define-key "y" gomoku-move-nw "u" gomoku-move-ne "b" gomoku-move-sw "n" gomoku-move-se "h" backward-char "l" forward-char "j" gomoku-move-down "k" gomoku-move-up [kp-7] [kp-9] [kp-1] [kp-3] [kp-4] [kp-6] [kp-2] [kp-8] "" "" "X" gomoku-human-plays "x" " " "" "" "" gomoku-human-takes-back "" gomoku-human-resigns "" gomoku-emacs-plays [kp-enter] [insert] [down-mouse-1] gomoku-click [drag-mouse-1] [mouse-1] [down-mouse-2] [mouse-2] gomoku-mouse-play [drag-mouse-2] substitute-key-definition previous-line current-global-map next-line beginning-of-line gomoku-beginning-of-line end-of-line gomoku-end-of-line undo advertised-undo] 5)
#@59 *For making font-lock use the winner's face for the line.
(defvar gomoku-emacs-won nil (#$ . -1612))
#@28 *Face to use for Emacs' O.
(defvar gomoku-font-lock-O-face (byte-code "	 !D" [window-system facemenu-get-face fg:red bold] 2) (#$ . -1719))
#@26 *Face to use for your X.
(defvar gomoku-font-lock-X-face (byte-code "	 !D" [window-system facemenu-get-face fg:green bold] 2) (#$ . -1871))
#@30 *Font lock rules for Gomoku.
(defvar gomoku-font-lock-keywords (quote (("O" . gomoku-font-lock-O-face) ("X" . gomoku-font-lock-X-face) ("[-|/\\]" 0 (if gomoku-emacs-won gomoku-font-lock-O-face gomoku-font-lock-X-face)))) (#$ . -2023))
(byte-code "###" [put gomoku-mode front-sticky rear-nonsticky (intangible) intangible 1] 7)
#@507 Major mode for playing Gomoku against Emacs.
You and Emacs play in turn by marking a free square.  You mark it with X
and Emacs marks it with O.  The winner is the first to get five contiguous
marks horizontally, vertically or in diagonal.

You play by moving the cursor over the square you choose and hitting \[gomoku-human-plays].

Other useful commands:
\{gomoku-mode-map}
Entry to this mode calls the value of `gomoku-mode-hook' if that value
is non-nil.  One interesting value is `turn-on-font-lock'.
(defalias 'gomoku-mode #[nil " !!!!" [gomoku-mode major-mode "Gomoku" mode-name gomoku-display-statistics use-local-map gomoku-mode-map make-local-variable font-lock-defaults (gomoku-font-lock-keywords t) toggle-read-only t run-hooks gomoku-mode-hook] 2 (#$ . 2370) nil])
#@40 Number of columns on the Gomoku board.
(defvar gomoku-board-width nil (#$ . 3176))
#@38 Number of lines on the Gomoku board.
(defvar gomoku-board-height nil (#$ . 3265))
#@56 Vector recording the actual state of the Gomoku board.
(defvar gomoku-board nil (#$ . 3353))
#@32 Length of gomoku-board vector.
(defvar gomoku-vector-length nil (#$ . 3452))
#@47 After how many moves will Emacs offer a draw?
(defvar gomoku-draw-limit nil (#$ . 3535))
#@69 Translate X, Y cartesian coords into the corresponding board index.
(defalias 'gomoku-xy-to-index #[(x y) "	_\n\\\\" [y gomoku-board-width x] 2 (#$ . 3630)])
#@46 Return corresponding x-coord of board INDEX.
(defalias 'gomoku-index-to-x #[(index) "	T" [index gomoku-board-width] 2 (#$ . 3797)])
#@46 Return corresponding y-coord of board INDEX.
(defalias 'gomoku-index-to-y #[(index) "	T" [index gomoku-board-width] 2 (#$ . 3938)])
#@65 Create the gomoku-board vector and fill it with initial values.
(defalias 'gomoku-init-board #[nil "	\"	SX$ I\fIT\fS\n *	W= I\\\\( )" [make-vector gomoku-vector-length 0 gomoku-board ii i gomoku-board-width -1 1] 4 (#$ . 4079)])
#@56 Vector recording the actual score of the free squares.
(defvar gomoku-score-table nil (#$ . 4351))
#@27 Score of an empty qtuple.
(defconst nil-score 7 (#$ . 4456))
#@37 Score of a qtuple containing one X.
(defconst Xscore 15 (#$ . 4523))
#@39 Score of a qtuple containing two X's.
(defconst XXscore 400 (#$ . 4598))
#@41 Score of a qtuple containing three X's.
(defconst XXXscore 1800 (#$ . 4677))
#@40 Score of a qtuple containing four X's.
(defconst XXXXscore 100000 (#$ . 4760))
#@37 Score of a qtuple containing one O.
(defconst Oscore 35 (#$ . 4845))
#@39 Score of a qtuple containing two O's.
(defconst OOscore 800 (#$ . 4920))
#@41 Score of a qtuple containing three O's.
(defconst OOOscore 15000 (#$ . 4999))
#@40 Score of a qtuple containing four O's.
(defconst OOOOscore 800000 (#$ . 5083))
#@52 Vector associating qtuple contents to their score.
(defconst gomoku-score-trans-table (byte-code "	\n\fƉƉ	Ɖ\nƉ&" [vector nil-score Xscore XXscore XXXscore XXXXscore 0 Oscore OOscore OOOscore OOOOscore] 32) (#$ . 5168))
#@56 Threshold score beyond which an Emacs move is winning.
(defconst gomoku-winning-threshold OOOOscore (#$ . 5422))
#@55 Threshold score beyond which a human move is winning.
(defconst gomoku-loosing-threshold XXXXscore (#$ . 5541))
#@66 Compute index of free square with highest score, or nil if none.
(defalias 'gomoku-strongest-square #[nil "\"\f\"ŉ	\n	X \f	HW \f	HV[ 	HUQ \n	 \f	I 	HUo \f	I \nT\n!U 		T	 ." [0 gomoku-xy-to-index 1 gomoku-board-width gomoku-board-height nil score best-square end square count score-max gomoku-score-table gomoku-board -1 random] 7 (#$ . 5659)])
#@49 Recorded initial value of previous score table.
(defvar gomoku-saved-score-table nil (#$ . 6102))
#@41 Recorded value of previous board width.
(defvar gomoku-saved-board-width nil (#$ . 6206))
#@42 Recorded value of previous board height.
(defvar gomoku-saved-board-height nil (#$ . 6302))
#@64 Create the score table vector and fill it with initial values.
(defalias 'gomoku-init-score-table #[nil " 	\nU \fU !	_\"ˉ\f	TҥTҥ^^\fXx Xo \"TY TO X \fX \"T Tz .!	" [gomoku-saved-score-table gomoku-board-width gomoku-saved-board-width gomoku-board-height gomoku-saved-board-height copy-sequence gomoku-score-table make-vector gomoku-vector-length nil-score 20 nil maxj2 maxi2 maxj maxi j i 2 4 1 gomoku-init-square-score] 7 (#$ . 6400)])
#@53 Return the number of qtuples containing square I,J.
(defalias 'gomoku-nb-qtuples #[(i j) "	S^\n	Z^S^\fZ^\\]^\\]^\\^^\\]^\\^^\\]^\\\\," [4 i gomoku-board-width j gomoku-board-height down up right left 3 8 -12] 7 (#$ . 6970)])
#@60 Give initial score to square I,J and to its mirror images.
(defalias 'gomoku-init-square-score #[(i j) "	ZT\nZT	\"H_	\n	\"I\n	\"I\n	\"I\n	\"I+" [gomoku-board-width i gomoku-board-height j gomoku-nb-qtuples gomoku-score-trans-table 0 sc jj ii gomoku-score-table gomoku-xy-to-index] 5 (#$ . 7244)])
#@60 Update score table after SQUARE received a DVAL increment.
(defalias 'gomoku-update-score-table #[(square dval) "	!	!\nZ]\fZ]\n\nZZ^\f\fZZ^\f	&	&]\f^	Ɖ&\fZ]\n\nZ]\nZ^\fZZ^	&." [gomoku-index-to-x square x gomoku-index-to-y y -4 1 imin jmin 0 gomoku-board-width 4 imax gomoku-board-height jmax gomoku-update-score-in-direction dval 5 -1] 7 (#$ . 7586)])
#@187 Update scores for all squares in the qtuples starting between the LEFTth
square and the RIGHTth after SQUARE, along the DX, DY direction, considering
that DVAL has been added on SQUARE.
(defalias 'gomoku-update-score-in-direction #[(left right square dx dy dval) "	V \n\"\f_\\\f	_\\_\\\f\fXW \f\fH\\\f\\\f? X \fH\fZHZU \fX \fHU \f\fH\\I\f\\\fw \\\fH[\\H\\\\Y ." [left right nil delta count square2 square1 square0 depl gomoku-xy-to-index dx dy square 4 0 gomoku-board gomoku-score-trans-table dval gomoku-score-table] 7 (#$ . 8017)])
#@35 Non-nil if a game is in progress.
(defvar gomoku-game-in-progress nil (#$ . 8682))
#@66 A record of all moves that have been played during current game.
(defvar gomoku-game-history nil (#$ . 8771))
#@49 Number of moves already played in current game.
(defvar gomoku-number-of-moves nil (#$ . 8887))
#@58 Number of moves already played by human in current game.
(defvar gomoku-number-of-human-moves nil (#$ . 8989))
#@32 Non-nil if Emacs played first.
(defvar gomoku-emacs-played-first nil (#$ . 9106))
#@52 Non-nil if Human took back a move during the game.
(defvar gomoku-human-took-back nil (#$ . 9194))
#@49 Non-nil if Human refused Emacs offer of a draw.
(defvar gomoku-human-refused-draw nil (#$ . 9299))
#@53 Non-nil if Emacs is in the middle of a computation.
(defvar gomoku-emacs-is-computing nil (#$ . 9404))
#@43 Initialize a new game on an N by M board.
(defalias 'gomoku-start-game #[(n m) "\\T_T__ʥ\"  ̉" [t gomoku-emacs-is-computing gomoku-game-in-progress n gomoku-board-width m gomoku-board-height 2 gomoku-vector-length 7 10 gomoku-draw-limit nil gomoku-emacs-won gomoku-game-history 0 gomoku-number-of-moves gomoku-number-of-human-moves gomoku-emacs-played-first gomoku-human-took-back gomoku-human-refused-draw gomoku-init-display gomoku-init-score-table gomoku-init-board] 3 (#$ . 9513)])
#@47 Go to SQUARE, play VAL and update everything.
(defalias 'gomoku-play-move #[(square val &optional dont-update-score) "\nU \fT U 	HB\nB\nT\n\"\f\nIF \n\"	IЉ" [t gomoku-emacs-is-computing val 1 gomoku-number-of-human-moves gomoku-number-of-moves 0 gomoku-emacs-played-first square gomoku-score-table gomoku-game-history gomoku-plot-square gomoku-board dont-update-score gomoku-update-score-table -1 nil] 3 (#$ . 10057)])
#@44 Take back last move and update everything.
(defalias 'gomoku-take-back #[nil "\n@@\fHU S\nA	S	\f\"\fI\f[\"\fAI+Ή" [t gomoku-emacs-is-computing gomoku-game-history last-move square gomoku-board oldval 1 gomoku-number-of-human-moves gomoku-number-of-moves gomoku-plot-square 0 gomoku-update-score-table gomoku-score-table nil] 4 (#$ . 10529)])
#@44 Number of games Emacs won in this session.
(defvar gomoku-number-of-emacs-wins 0 (#$ . 10913))
#@42 Number of games you won in this session.
(defvar gomoku-number-of-human-wins 0 (#$ . 11014))
#@48 Number of games already drawn in this session.
(defvar gomoku-number-of-draws 0 (#$ . 11113))
#@41 Terminate the current game with RESULT.
(defalias 'gomoku-terminate-game #[(result) "	=K T\fW Ƃ  Ȃ 	& ʂ / ̂ UG UG VG т ҂ 	=n T	` Ղj i ւj P 	={ Tق 	= T	 ܂  ݂ P 	= T	 ܂  Ⴝ P 	= ! &" [message result emacs-won gomoku-number-of-emacs-wins gomoku-number-of-moves 20 "This was a REALLY QUICK win." gomoku-human-refused-draw "I won... Too bad you refused my offer of a draw !" gomoku-human-took-back "I won... Taking moves back will not help you !" gomoku-emacs-played-first "I won... Playing first did not help you much !" gomoku-number-of-human-wins 0 gomoku-number-of-draws 1 "I'm becoming tired of winning..." "I won." human-won "OK, you won this one." "  I, for one, never take my moves back..." ".. so what ?" "  Now, let me play first just once." human-resigned "So you resign.  That's just one more win for me." nobody-won "This is a draw.  " "I, for one, never take my moves back..." "Just chance, I guess." "Now, let me play first just once." draw-agreed "Draw agreed.  " "You were lucky." crash-game "Sorry, I have been interrupted and cannot resume that game..." gomoku-display-statistics nil gomoku-game-in-progress] 3 (#$ . 11213)])
#@56 What to do when Emacs detects it has been interrupted.
(defalias 'gomoku-crash-game #[nil "!! " [nil gomoku-emacs-is-computing gomoku-terminate-game crash-game sit-for 4 gomoku-prompt-for-other-game] 2 (#$ . 12476)])
#@564 Start a Gomoku game between you and Emacs.
If a game is in progress, this command allow you to resume it.
If optional arguments N and M are given, an N by M board is used.
If prefix arg is given for N, M is prompted for.

You and Emacs play in turn by marking a free square.  You mark it with X
and Emacs marks it with O. The winner is the first to get five contiguous
marks horizontally, vertically or in diagonal.

You play by moving the cursor over the square you choose and hitting
\<gomoku-mode-map>\[gomoku-human-plays].
Use \[describe-mode] for more info.
(defalias 'gomoku #[(&optional n m) " 	\n   \fX   	\n% 	\n. \nW< !X WJ !X \n	VX \n\"Vv =v \"!v *!\n\"!   !   " [gomoku-switch-to-window gomoku-emacs-is-computing gomoku-crash-game gomoku-game-in-progress gomoku-number-of-moves 2 gomoku-max-width gomoku-max-height max-height max-width n m 1 error "I need at least 1 column" "I need at least 1 row" "I cannot display %d columns in that window" gomoku-saved-board-height y-or-n-p format "Do you really want %d rows " message "One moment, please..." gomoku-start-game "Do you allow me to play first " gomoku-emacs-plays gomoku-prompt-for-move "Shall we continue our game " gomoku-human-resigns] 4 (#$ . 12710) (byte-code " !!!D" [current-prefix-arg prefix-numeric-value eval read-minibuffer "Height: "] 4)])
#@38 Compute Emacs next move and play it.
(defalias 'gomoku-emacs-plays #[nil " 	\n    !ǉ	 	) !t 	H	\"YM 	\"!t UZ !t Vr r  r !t  *" [gomoku-switch-to-window gomoku-emacs-is-computing gomoku-crash-game gomoku-game-in-progress gomoku-prompt-for-other-game message "Let me think..." nil score square gomoku-strongest-square gomoku-terminate-game nobody-won gomoku-score-table gomoku-play-move 6 gomoku-winning-threshold t gomoku-emacs-won gomoku-find-filled-qtuple emacs-won 0 gomoku-number-of-moves gomoku-draw-limit gomoku-human-refused-draw gomoku-offer-a-draw draw-agreed gomoku-prompt-for-move] 4 (#$ . 14136) nil])
#@41 Position at the square where you click.
(defalias 'gomoku-click #[(click) "	\n8: Â \n8)@)! 	A@:, A@@/ A@) 	@)! 	! 	@	ZZ \\\\æ\\å\\]\f^	AZZ \")\\\\æ\\å\\]^\"" [windowp click event 2 1 position select-window posn-col-row gomoku-goto-xy gomoku-x-offset window-hscroll gomoku-square-width gomoku-board-width gomoku-y-offset t inhibit-point-motion-hooks count-lines window-start gomoku-square-height gomoku-board-height] 7 (#$ . 14825) "e"])
#@37 Play at the square where you click.
(defalias 'gomoku-mouse-play #[(click) "	!  " [gomoku-click click gomoku-human-plays] 2 (#$ . 15342) "e"])
#@184 Signal to the Gomoku program that you have played.
You must have put the cursor on the square where you want to play.
If the game is finished, this command requests for another game.
(defalias 'gomoku-human-plays #[nil " 	\n    ŉ % !Z HU5 !Z H\"YX \"X !Z  *" [gomoku-switch-to-window gomoku-emacs-is-computing gomoku-crash-game gomoku-game-in-progress gomoku-prompt-for-other-game nil score square gomoku-point-square error "Your point is not on a square. Retry !" gomoku-board 0 "Your point is not on a free square. Retry !" gomoku-score-table gomoku-play-move 1 gomoku-loosing-threshold gomoku-find-filled-qtuple gomoku-terminate-game human-won gomoku-emacs-plays] 4 (#$ . 15497) nil])
#@73 Signal to the Gomoku program that you wish to take back your last move.
(defalias 'gomoku-human-takes-back #[nil " 	\n   !! 	U$ !!		U=  / ) " [gomoku-switch-to-window gomoku-emacs-is-computing gomoku-crash-game gomoku-game-in-progress message "Too late for taking back..." sit-for 4 gomoku-prompt-for-other-game gomoku-number-of-human-moves 0 "You have not played yet... Your move ?" "One moment, please..." t gomoku-human-took-back number gomoku-take-back gomoku-prompt-for-move] 2 (#$ . 16249) nil])
#@59 Signal to the Gomoku program that you may want to resign.
(defalias 'gomoku-human-resigns #[nil " 	\n   !! !!%  !" [gomoku-switch-to-window gomoku-emacs-is-computing gomoku-crash-game gomoku-game-in-progress message "There is no game in progress" y-or-n-p "You mean, you resign " gomoku-terminate-game human-resigned "You mean, we continue " gomoku-prompt-for-move] 2 (#$ . 16797) nil])
#@44 Display a message asking for Human's move.
(defalias 'gomoku-prompt-for-move #[nil "	U Â\f ! q)" [message gomoku-number-of-human-moves 0 "Your move ? (move to a free square and hit X, RET ...)" "Your move ?" other-buffer] 3 (#$ . 17216)])
#@37 Ask for another game, and start it.
(defalias 'gomoku-prompt-for-other-game #[nil "! \f\"!" [y-or-n-p "Another game " gomoku gomoku-board-width gomoku-board-height message "Chicken !"] 3 (#$ . 17471)])
#@49 Offer a draw and return T if Human accepted it.
(defalias 'gomoku-offer-a-draw #[nil "!\n ?" [y-or-n-p "I offer you a draw. Do you accept it " t gomoku-human-refused-draw] 2 (#$ . 17689)])
#@58 *Horizontal spacing between squares on the Gomoku board.
(defconst gomoku-square-width 4 (#$ . -17891))
#@56 *Vertical spacing between squares on the Gomoku board.
(defconst gomoku-square-height 2 (#$ . -18001))
#@73 *Number of columns between the Gomoku board and the side of the window.
(defconst gomoku-x-offset 3 (#$ . -18110))
#@70 *Number of lines between the Gomoku board and the top of the window.
(defconst gomoku-y-offset 1 (#$ . -18231))
#@54 Largest possible board width for the current window.
(defalias 'gomoku-max-width #[nil " !\nZ\nZZ\fT" [window-width selected-window gomoku-x-offset 1 gomoku-square-width] 2 (#$ . 18349)])
#@55 Largest possible board height for the current window.
(defalias 'gomoku-max-height #[nil " !\nZ\nZZ\fT" [window-height selected-window gomoku-y-offset 2 gomoku-square-height] 2 (#$ . 18548)])
#@38 Return the board row where point is.
(defalias 'gomoku-point-y #[nil "`\"\fZn ł ZT)" [t inhibit-point-motion-hooks count-lines 1 gomoku-y-offset 0 gomoku-square-height] 3 (#$ . 18751)])
#@45 Return the index of the square point is on.
(defalias 'gomoku-point-square #[nil "iZ\fT \")" [t inhibit-point-motion-hooks gomoku-xy-to-index gomoku-x-offset gomoku-square-width gomoku-point-y] 3 (#$ . 18956)])
#@36 Move point to square number INDEX.
(defalias 'gomoku-goto-square #[(index) "\n!\n!\"" [gomoku-goto-xy gomoku-index-to-x index gomoku-index-to-y] 4 (#$ . 19180)])
#@38 Move point to square at X, Y coords.
(defalias 'gomoku-goto-xy #[(x y) "\fS_\\\\!)	\nS_\\!" [t inhibit-point-motion-hooks goto-line gomoku-y-offset gomoku-square-height y 1 move-to-column gomoku-x-offset gomoku-square-width x] 4 (#$ . 19352)])
#@71 Draw 'X', 'O' or '.' on SQUARE depending on VALUE, leave point there.
(defalias 'gomoku-plot-square #[(square value) "U\n !ĉU Ȃ% U$ ʂ% !\f: !: `S`$!!*!" [value 1 gomoku-goto-square square t inhibit-point-motion-hooks inhibit-read-only insert-and-inherit 88 6 79 46 window-system zerop put-text-property mouse-face highlight delete-char backward-char sit-for 0] 5 (#$ . 19615)])
#@33 Display an N by M Gomoku board.
(defalias 'gomoku-init-display #[(n m) "p!\fÉ	\n\fU' 5 \f\\\\ϥ] !\fZSY \\iZ\"iZ\"?{ \n`$U \fZU Y p	`#Z db`\ncI \n`$I SV \fSU \n	 \"? f= $ \n`$\n`$e`$.Tϥ\fTϥ\"!" [buffer-disable-undo t 1 nil m x j i intangible opoint point inhibit-read-only gomoku-x-offset gomoku-square-width 0 2 tab-width erase-buffer newline gomoku-y-offset n insert-char 9 32 put-text-property 3 append-to-buffer 46 window-system mouse-face highlight 10 gomoku-square-height point-entered #[(x x) "o u" [nil] 1] #[(x x) "m  " [backward-char] 1] category gomoku-mode gomoku-goto-xy sit-for] 8 (#$ . 20039)])
#@72 Obnoxiously display some statistics about previous games in mode line.
(defalias 'gomoku-display-statistics #[nil "\n\fU Ƃ \f\"$ " [format ": Won %d, lost %d%s" gomoku-number-of-human-wins gomoku-number-of-emacs-wins gomoku-number-of-draws 0 "" ", drew %d" mode-line-process force-mode-line-update] 7 (#$ . 20844)])
#@51 Find or create the Gomoku buffer, and display it.
(defalias 'gomoku-switch-to-window #[nil "! \n! \f  ! )" [get-buffer "*Gomoku*" buff switch-to-buffer gomoku-game-in-progress gomoku-crash-game gomoku-mode] 3 (#$ . 21180) nil])
#@60 Return T if SQUARE belongs to a qtuple filled with VALUEs.
(defalias 'gomoku-find-filled-qtuple #[(square value) "	\n$! 	\n$! 	\nÉ$! 	\n$" [gomoku-check-filled-qtuple square value 1 0 -1] 5 (#$ . 21432)])
#@74 Return T if SQUARE belongs to a qtuple filled  with VALUEs along DX, DY.
(defalias 'gomoku-check-filled-qtuple #[(square value dx dy) "	\f\"	V0 \fZHU0 	S	 	\\WS \f\\HUS T2 	\\Uo 		_\\	_\\\f$-" [0 square gomoku-xy-to-index dx dy depl right left b a -4 value gomoku-board 4 gomoku-cross-qtuple t] 8 (#$ . 21658)])
#@73 Cross every square between SQUARE1 and SQUARE2 in the DX, DY direction.
(defalias 'gomoku-cross-qtuple #[(square1 square2 dx dy) "	\n\"ÉU !\\\nU; uS#`w`| 	Uf iWb Tyj!G * 	U iץZץyj! iץ\\ץyj! ,!" [gomoku-xy-to-index dx dy t inhibit-point-motion-hooks inhibit-read-only depl square1 square2 gomoku-goto-square 0 1 insert-char 45 gomoku-square-width " 	" nil column n gomoku-square-height insert-and-inherit 124 -1 2 47 92 sit-for] 4 (#$ . 22043)])
#@46 Move point down one row on the Gomoku board.
(defalias 'gomoku-move-down #[nil " 	W\n !" [gomoku-point-y gomoku-board-height next-line gomoku-square-height] 2 (#$ . 22592) nil])
#@44 Move point up one row on the Gomoku board.
(defalias 'gomoku-move-up #[nil " V\n !" [gomoku-point-y 1 previous-line gomoku-square-height] 2 (#$ . 22781) nil])
#@44 Move point North East on the Gomoku board.
(defalias 'gomoku-move-ne #[nil " u" [gomoku-move-up nil] 1 (#$ . 22952) nil])
#@44 Move point South East on the Gomoku board.
(defalias 'gomoku-move-se #[nil " u" [gomoku-move-down nil] 1 (#$ . 23084) nil])
#@44 Move point North West on the Gomoku board.
(defalias 'gomoku-move-nw #[nil "  " [gomoku-move-up backward-char] 1 (#$ . 23218) nil])
#@44 Move point South West on the Gomoku board.
(defalias 'gomoku-move-sw #[nil "  " [gomoku-move-down backward-char] 1 (#$ . 23360) nil])
#@53 Move point to first square on the Gomoku board row.
(defalias 'gomoku-beginning-of-line #[nil "	!" [move-to-column gomoku-x-offset] 2 (#$ . 23504) nil])
#@52 Move point to last square on the Gomoku board row.
(defalias 'gomoku-end-of-line #[nil "	\nS_\\!" [move-to-column gomoku-x-offset gomoku-square-width gomoku-board-width] 4 (#$ . 23665) nil])
(provide (quote gomoku))
