This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Im a beginner in groovy and Im working on simple chess game with board size 8 rows on 3 colums to hold red and blue pawns positions.
At the moment Im stuck with positioning the pawns on the board. i need to put red pawns on the top of column, and blue in the bottom ie:
I will appreciate any suggestion, this is what I've done so far:
def a = new Object 
def val = new Object