LociOiling Lv 1
Recent design puzzles have a variable number of segments. Players can add segments up to a specified maximum. Each added segment carries a penalty.
AddMax adds segments (residues) until the maximum number is reached.
Segments are added one at a time, before the last segment. To keep things straight, the last and next to last segments are changed to sheet before the new segment is added. This forces the new segment to be part of the sheet. This feature is useful for preserving the straight "extended chain" found at the beginning of a design puzzle.
The inserted segment is mutated to the same amino acid as the last segment in the puzzle. The inserted segment is also set to the same secondary structure as the last segment had initially.
The last and the old-next-to-last segment are reset to their initial secondary structure.