;ELC ;;; compiled by roland@churchy.gnu.ai.mit.edu on Fri May 12 12:18:36 1995 ;;; from file /gd/gnu/emacs/19.0/lisp/gomoku.el ;;; emacs version 19.28.91.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"))) (error "`/gd/gnu/emacs/19.0/lisp/gomoku.el' was compiled for Emacs 19")) #@58 If non-nil, its value is called on entry to Gomoku mode. (defvar gomoku-mode-hook nil (#$ . 486)) #@37 Local keymap to use in Gomoku mode. (defvar gomoku-mode-map nil (#$ . 590)) (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" gomoku-move-left "l" gomoku-move-right "j" gomoku-move-down "k" gomoku-move-up "" "" "" "" "X" gomoku-human-plays "x" " " "" "" gomoku-human-takes-back "" gomoku-human-resigns "" gomoku-emacs-plays [up] [down] [left] [right] [kp-enter] [mouse-2] gomoku-click [insert]] 4) #@460 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. (defalias 'gomoku-mode #[nil " !!" [gomoku-mode major-mode "Gomoku" mode-name gomoku-display-statistics use-local-map gomoku-mode-map run-hooks gomoku-mode-hook] 2 (#$ . 1263) nil]) #@40 Number of columns on the Gomoku board. (defvar gomoku-board-width nil (#$ . 1923)) #@38 Number of lines on the Gomoku board. (defvar gomoku-board-height nil (#$ . 2012)) #@56 Vector recording the actual state of the Gomoku board. (defvar gomoku-board nil (#$ . 2100)) #@32 Length of gomoku-board vector. (defvar gomoku-vector-length nil (#$ . 2199)) #@47 After how many moves will Emacs offer a draw? (defvar gomoku-draw-limit nil (#$ . 2282)) #@69 Translate X, Y cartesian coords into the corresponding board index. (defalias 'gomoku-xy-to-index #[(x y) " _\n\\\\" [y gomoku-board-width x] 3 (#$ . 2377)]) #@46 Return corresponding x-coord of board INDEX. (defalias 'gomoku-index-to-x #[(index) " T" [index gomoku-board-width] 2 (#$ . 2544)]) #@46 Return corresponding y-coord of board INDEX. (defalias 'gomoku-index-to-y #[(index) " T" [index gomoku-board-width] 2 (#$ . 2685)]) #@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 (#$ . 2826)]) #@56 Vector recording the actual score of the free squares. (defvar gomoku-score-table nil (#$ . 3098)) #@27 Score of an empty qtuple. (defconst nil-score 7 (#$ . 3203)) #@37 Score of a qtuple containing one X. (defconst Xscore 15 (#$ . 3270)) #@39 Score of a qtuple containing two X's. (defconst XXscore 400 (#$ . 3345)) #@41 Score of a qtuple containing three X's. (defconst XXXscore 1800 (#$ . 3424)) #@40 Score of a qtuple containing four X's. (defconst XXXXscore 100000 (#$ . 3507)) #@37 Score of a qtuple containing one O. (defconst Oscore 35 (#$ . 3592)) #@39 Score of a qtuple containing two O's. (defconst OOscore 800 (#$ . 3667)) #@41 Score of a qtuple containing three O's. (defconst OOOscore 15000 (#$ . 3746)) #@40 Score of a qtuple containing four O's. (defconst OOOOscore 800000 (#$ . 3830)) #@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) (#$ . 3915)) #@56 Threshold score beyond which an Emacs move is winning. (defconst gomoku-winning-threshold OOOOscore (#$ . 4169)) #@55 Threshold score beyond which a human move is winning. (defconst gomoku-loosing-threshold XXXXscore (#$ . 4288)) #@66 Compute index of free square with highest score, or nil if none. (defalias 'gomoku-strongest-square #[nil "‰\" \f\"ʼn \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 (#$ . 4406)]) #@49 Recorded initial value of previous score table. (defvar gomoku-saved-score-table nil (#$ . 4849)) #@41 Recorded value of previous board width. (defvar gomoku-saved-board-width nil (#$ . 4953)) #@42 Recorded value of previous board height. (defvar gomoku-saved-board-height nil (#$ . 5049)) #@64 Create the score table vector and fill it with initial values. (defalias 'gomoku-init-score-table #[nil " \nU \fU! _\"ˉ\f  Tҥ Tҥ^ ^\f XxXo\"TYTOX\fX\"TTz.!  " [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 (#$ . 5147)]) #@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 (#$ . 5717)]) #@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 (#$ . 5991)]) #@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 (#$ . 6333)]) #@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\fZHZU\f X\fHU\f\fH \\I\f\\\fw \\\fH[ 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 (#$ . 6764)]) #@35 Non-nil if a game is in progress. (defvar gomoku-game-in-progress nil (#$ . 7429)) #@66 A record of all moves that have been played during current game. (defvar gomoku-game-history nil (#$ . 7518)) #@49 Number of moves already played in current game. (defvar gomoku-number-of-moves nil (#$ . 7634)) #@58 Number of moves already played by human in current game. (defvar gomoku-number-of-human-moves nil (#$ . 7736)) #@32 Non-nil if Emacs played first. (defvar gomoku-emacs-played-first nil (#$ . 7853)) #@52 Non-nil if Human took back a move during the game. (defvar gomoku-human-took-back nil (#$ . 7941)) #@49 Non-nil if Human refused Emacs offer of a draw. (defvar gomoku-human-refused-draw nil (#$ . 8046)) #@53 Non-nil if Emacs is in the middle of a computation. (defvar gomoku-emacs-is-computing nil (#$ . 8151)) #@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-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 (#$ . 8260)]) #@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 (#$ . 8784)]) #@44 Take back last move and update everything. (defalias 'gomoku-take-back #[nil "\n@@ \fHUS\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 (#$ . 9255)]) #@44 Number of games Emacs won in this session. (defvar gomoku-number-of-emacs-wins 0 (#$ . 9638)) #@42 Number of games you won in this session. (defvar gomoku-number-of-human-wins 0 (#$ . 9738)) #@48 Number of games already drawn in this session. (defvar gomoku-number-of-draws 0 (#$ . 9836)) #@41 Terminate the current game with RESULT. (defalias 'gomoku-terminate-game #[(result) "\n=M\fT WǂIɂI\n'˂I\f0͂IUHUH\fVH҂I\n=oT\naՂk\fjւk\n=}\fT\n=T\nۂ\f܂\n=T\n߂\f\n= ! &)" [nil 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..." "OK, you won this one... so what ?" "OK, you won this one. 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..." "This is a draw. Just chance, I guess." "This is a draw. Now, let me play first just once." draw-agreed "Draw agreed. I, for one, never take my moves back..." "Draw agreed. You were lucky." "Draw agreed. Now, let me play first just once." crash-game "Sorry, I have been interrupted and cannot resume that game..." gomoku-display-statistics ding gomoku-game-in-progress] 2 (#$ . 9935)]) #@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 (#$ . 11402)]) #@515 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. 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]. Use \[describe-mode] for more info. (defalias 'gomoku #[(&optional n m) " \n  ( W6!R WD!RVR\" Vp p \"!p *! \"! ! " [gomoku-switch-to-window gomoku-emacs-is-computing gomoku-crash-game gomoku-game-in-progress 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 (#$ . 11636) nil]) #@38 Compute Emacs next move and play it. (defalias 'gomoku-emacs-plays #[nil " \n  !lj  )!t  H \"YM \" !tUZ!tVrr 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 gomoku-find-filled-qtuple gomoku-cross-winning-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 (#$ . 12874) nil]) #@37 Play at the square where you click. (defalias 'gomoku-click #[(click) " ! " [mouse-set-point click gomoku-human-plays] 2 (#$ . 13572) "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  ʼn %!] HU5!]H\"Y[\"[ !] *" [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-cross-winning-qtuple gomoku-terminate-game human-won gomoku-emacs-plays] 4 (#$ . 13723) 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 (#$ . 14506) 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 (#$ . 15054) 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 (#$ . 15473)]) #@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 (#$ . 15728)]) #@49 Offer a draw and return T if Human accepted it. (defalias 'gomoku-offer-a-draw #[nil "! ‰" [y-or-n-p "I offer you a draw. Do you accept it " t gomoku-human-refused-draw] 2 (#$ . 15946)]) #@58 *Horizontal spacing between squares on the Gomoku board. (defconst gomoku-square-width 4 (#$ . -16146)) #@56 *Vertical spacing between squares on the Gomoku board. (defconst gomoku-square-height 2 (#$ . -16256)) #@73 *Number of columns between the Gomoku board and the side of the window. (defconst gomoku-x-offset 3 (#$ . -16365)) #@70 *Number of lines between the Gomoku board and the top of the window. (defconst gomoku-y-offset 1 (#$ . -16486)) #@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 (#$ . 16604)]) #@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 (#$ . 16803)]) #@77 Return the board column where point is, or nil if it is not a board column. (defalias 'gomoku-point-x #[nil "iZY U T\fX )" [gomoku-x-offset col 0 gomoku-square-width gomoku-board-width] 3 (#$ . 17006)]) #@71 Return the board row where point is, or nil if it is not a board row. (defalias 'gomoku-point-y #[nil "`\"\nZZY$ U$ TX$ )" [count-lines 1 gomoku-y-offset row 0 gomoku-square-height gomoku-board-height] 4 (#$ . 17236)]) #@73 Return the index of the square point is on, or nil if not on the board. (defalias 'gomoku-point-square #[nil "  \n \"*" [nil y x gomoku-point-x gomoku-point-y gomoku-xy-to-index] 3 (#$ . 17483)]) #@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 (#$ . 17703)]) #@38 Move point to square at X, Y coords. (defalias 'gomoku-goto-xy #[(x y) " \n S_\\\\!S_\\!" [goto-line gomoku-y-offset gomoku-square-height y 1 move-to-column gomoku-x-offset gomoku-square-width x] 4 (#$ . 17875)]) #@73 Draw 'X', 'O' or '.' on SQUARE (depending on VALUE), leave point there. (defalias 'gomoku-plot-square #[(square value) " ! Uł Uǂ!!" [gomoku-goto-square square gomoku-put-char value 1 88 6 79 46 sit-for 0] 3 (#$ . 18105)]) #@33 Draw CHAR on the Gomoku screen. (defalias 'gomoku-put-char #[(char) "\nc!!)" [t inhibit-read-only char delete-char 1 backward-char] 2 (#$ . 18355)]) #@33 Display an N by M Gomoku board. (defalias 'gomoku-init-display #[(n m) "p! ĉ\nS\"PS\"\"\"RS\n_\\\\\"PS\"\"PS\"\"\"\",TإTإ\"!)" [buffer-disable-undo t inhibit-read-only erase-buffer nil string4 string3 string2 string1 make-string gomoku-square-width 32 "." apply concat make-list n gomoku-x-offset "\n" 1 gomoku-square-height m gomoku-y-offset gomoku-goto-xy 2 sit-for 0] 6 (#$ . 18519)]) #@72 Obnoxiously display some statistics about previous games in mode line. (defalias 'gomoku-display-statistics #[nil "U\f $\f # " [gomoku-number-of-draws 0 format ": Won %d, lost %d, drew %d" gomoku-number-of-human-wins gomoku-number-of-emacs-wins ": Won %d, lost %d" mode-line-process force-mode-line-update] 5 (#$ . 19018)]) #@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 (#$ . 19365) nil]) #@37 First square of the winning qtuple. (defvar gomoku-winning-qtuple-beg nil (#$ . 19617)) #@36 Last square of the winning qtuple. (defvar gomoku-winning-qtuple-end nil (#$ . 19711)) #@53 Direction of the winning qtuple (along the X axis). (defvar gomoku-winning-qtuple-dx nil (#$ . 19804)) #@53 Direction of the winning qtuple (along the Y axis). (defvar gomoku-winning-qtuple-dy nil (#$ . 19913)) #@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 (#$ . 20022)]) #@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\" \n V5  Z HU5 S  \\\nW] \\HU]\nT\n=\nU~  _\\ \n_\\ \f." [0 square gomoku-xy-to-index dx dy nil a+4 depl right left b a -4 value gomoku-board 4 gomoku-winning-qtuple-beg gomoku-winning-qtuple-end gomoku-winning-qtuple-dx gomoku-winning-qtuple-dy t] 8 (#$ . 20248)]) #@64 Cross winning qtuple, as found by `gomoku-find-filled-qtuple'. (defalias 'gomoku-cross-winning-qtuple #[nil " \n \f$" [gomoku-cross-qtuple gomoku-winning-qtuple-beg gomoku-winning-qtuple-end gomoku-winning-qtuple-dx gomoku-winning-qtuple-dy] 5 (#$ . 20742)]) #@73 Cross every square between SQUARE1 and SQUARE2 in the DX, DY direction. (defalias 'gomoku-cross-qtuple #[(square1 square2 dx dy) " \n\"\f U\f!\f \\ U>\nU>  \nW: T u!#) Ui\nUi   We T !!M) U\nU\nҥ! ҥ!! U\nU\nҥu ҥ!!*!" [gomoku-xy-to-index dx dy depl square1 square2 gomoku-goto-square 1 0 n gomoku-square-width gomoku-put-char 45 gomoku-square-height next-line 124 -1 backward-char 2 47 92 sit-for] 3 (#$ . 21009)]) #@53 Move point backward one column on the Gomoku board. (defalias 'gomoku-move-left #[nil "  \f V\f!)" [gomoku-point-x x backward-char 1 gomoku-square-width 0] 3 (#$ . 21532) nil]) #@52 Move point forward one column on the Gomoku board. (defalias 'gomoku-move-right #[nil "  ‚ W\fu)" [gomoku-point-x x 1 gomoku-board-width gomoku-square-width 0] 3 (#$ . 21733) nil]) #@46 Move point down one row on the Gomoku board. (defalias 'gomoku-move-down #[nil "  \f \fW !)" [gomoku-point-y y next-line 1 gomoku-board-height gomoku-square-height 0] 3 (#$ . 21937) nil]) #@44 Move point up one row on the Gomoku board. (defalias 'gomoku-move-up #[nil "  \f V\f!)" [gomoku-point-y y previous-line 1 gomoku-square-height 0] 3 (#$ . 22148) nil]) #@44 Move point North East on the Gomoku board. (defalias 'gomoku-move-ne #[nil " " [gomoku-move-up gomoku-move-right] 1 (#$ . 22339) nil]) #@44 Move point South East on the Gomoku board. (defalias 'gomoku-move-se #[nil " " [gomoku-move-down gomoku-move-right] 1 (#$ . 22485) nil]) #@44 Move point North West on the Gomoku board. (defalias 'gomoku-move-nw #[nil " " [gomoku-move-up gomoku-move-left] 1 (#$ . 22633) nil]) #@44 Move point South West on the Gomoku board. (defalias 'gomoku-move-sw #[nil " " [gomoku-move-down gomoku-move-left] 1 (#$ . 22778) nil]) (provide (quote gomoku))