mirror of
git://git.savannah.nongnu.org/eliot.git
synced 2024-11-17 07:48:27 +01:00
Allow the first word to be vertical
This commit is contained in:
parent
4d86e236e0
commit
6f14e34fe7
2 changed files with 5 additions and 1 deletions
|
@ -353,8 +353,12 @@ int Board::checkRoundAux(const Matrix<Tile> &iTilesMx,
|
|||
if (isolated && !m_isEmpty)
|
||||
return 5;
|
||||
// The first word must be horizontal
|
||||
// Deactivated, as a vertical first word is allowed in free games,
|
||||
// and possibly in duplicate games as well (it depends on the sources)
|
||||
#if 0
|
||||
if (m_isEmpty && iRound.getCoord().getDir() == Coord::VERTICAL)
|
||||
return 6;
|
||||
#endif
|
||||
// The first word must cover the H8 square
|
||||
if (m_isEmpty
|
||||
&& (row != 8 || col > 8 || col + iRound.getWordLen() <= 8))
|
||||
|
|
|
@ -160,7 +160,7 @@ public:
|
|||
* 7: invalid crosscheck
|
||||
* 8: word already present on the board (no new letter from the rack)
|
||||
* 9: isolated word (not connected to the rest)
|
||||
* 10: first word not horizontal
|
||||
* (10: first word not horizontal) <-- this one has been deactivated
|
||||
* 11: first word not covering the H8 square
|
||||
* 12: word going out of the board
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue