Function: gomoku-xy-to-index
gomoku-xy-to-index is a byte-compiled function defined in
gomoku.el.gz.
Signature
(gomoku-xy-to-index X Y)
Documentation
Translate X, Y cartesian coords into the corresponding board index.
Source Code
;; Defined in /usr/src/emacs/lisp/play/gomoku.el.gz
(defun gomoku-xy-to-index (x y)
"Translate X, Y cartesian coords into the corresponding board index."
(+ (* y gomoku-board-width) x y))