Variable: gomoku-board-width

gomoku-board-width is a variable defined in gomoku.el.gz.

Value

nil

Documentation

Number of columns on the Gomoku board.

Source Code

;; Defined in /usr/src/emacs/lisp/play/gomoku.el.gz
;;;
;;; THE BOARD.
;;;

;; The board is a rectangular grid. We code empty squares with 0, X's with 1
;; and O's with 6.  The rectangle is recorded in a one dimensional vector
;; containing padding squares (coded with -1).  These squares allow us to
;; detect when we are trying to move out of the board.  We denote a square by
;; its (X,Y) coords, or by the INDEX corresponding to them in the vector.  The
;; leftmost topmost square has coords (1,1) and index gomoku-board-width + 2.
;; Similarly, vectors between squares may be given by two DX, DY coords or by
;; one DEPL (the difference between indexes).

(defvar gomoku-board-width nil
  "Number of columns on the Gomoku board.")