[Tex/LaTex] Checkers board in TikZ.

tikz-pgf

What is the best way to draw checker board in tikz?
I'm interested in what is the best way to draw many circular pieces on board.
(the checker background is not important)

Best Answer

I suggest to use a matrix of nodes from the tikz matrix library.

A small example using the style devloped in the other topic:

\documentclass{article} 
\usepackage{tikz}
\usetikzlibrary{matrix}
\begin{document}
\tikzstyle{ball} = [circle, shading=ball,
    ball color=black!80!white, minimum size=1cm]
\begin{tikzpicture}
\matrix (m) [matrix of nodes,nodes=ball] {
 {} &    & {} &    & {} &    & {} & \\
    & {} &    & {} &    & {} &    & {} \\
 {} &    & {} &    & {} &    & {} & \\};
\end{tikzpicture}
\end{document}

Output:

alt text