How to draw board
Posted: Sat Sep 28, 2013 6:59 am
How I can draw grid ( square board 5x5) using Lisp?
Here is an example (I am sorry my drawing is very bad!!) .. (each cell has to be locked cells but I could not draw this here and I could not upload image that can explain everything)
The board should be consists of + (in corners) and - (in the edges) ( Plus and Minus)
+ - - - - -+- - - -- - -+- - - -- - - -+- - - - - - +- - - - - -+
+ - - - - -+- - -- - - -+- - - - - - -+- - - - - - +- - - - - -+
+ - - - - -+- - -- - - -+- - - - - - -+- - - - - - +- - - - - -+
+ - - - - -+- - -- - - -+- - - - - - -+- - - - - - +- - - - -- +
+ - - - - -+- - -- - - -+- - -- - - - -+- - - - - - +- - - -- - -+
+ - - - - -+- - -- - - -+- - - - - - -+- - - - - - +- - - - - -+
Here is an example (I am sorry my drawing is very bad!!) .. (each cell has to be locked cells but I could not draw this here and I could not upload image that can explain everything)
The board should be consists of + (in corners) and - (in the edges) ( Plus and Minus)
+ - - - - -+- - - -- - -+- - - -- - - -+- - - - - - +- - - - - -+
+ - - - - -+- - -- - - -+- - - - - - -+- - - - - - +- - - - - -+
+ - - - - -+- - -- - - -+- - - - - - -+- - - - - - +- - - - - -+
+ - - - - -+- - -- - - -+- - - - - - -+- - - - - - +- - - - -- +
+ - - - - -+- - -- - - -+- - -- - - - -+- - - - - - +- - - -- - -+
+ - - - - -+- - -- - - -+- - - - - - -+- - - - - - +- - - - - -+