Refactored board(), initForNewGame() and placePiece.