package scrabble import ( "scrabble-solver/board" "scrabble-solver/internal/encoding" ) // Apply places a move's newly-placed tiles on the board. The move must be legal for the // board (as produced by a generator, or validated); Apply does not re-check it. func Apply(b *board.Board, m Move) { for _, t := range m.Tiles { b.Set(t.Row, t.Col, encoding.Cell(t.Letter, t.Blank)) } }