Is there an algorithm to initialize the tiles on a scrabble board rather than manually laying them out like so:
board[0][3]->setType(ScrabbleTile::TripleWord);
board[0][6]->setType(ScrabbleTile::TripleLetter);
board[0][8]->setType(ScrabbleTile::TripleLetter);
board[0][11]->setType(ScrabbleTile::TripleWord);
...
It looks like there may be a pattern by looking at the board but it's not immediately obvious to me.
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)