🥞 Griddlestack

Breakfast at camp, and the griddle handed you a scrambled stack. A spatula, a steady wrist, and as few flips as you can manage.

How it plays. Each stack is a column of pancakes of different sizes, smallest at size 1. Serving order is smallest on top, largest at the bottom. One move: slide the spatula under any pancake and flip the whole top section over - command flip k reverses the top k pancakes. Sort the stack in as few flips as possible.
Scoring. Three stacks of 6, 7 and 8 pancakes, same for every player. Each stack shows its exact fewest flips (computed by exhaustive search when the page loads). Stack score: 100 points, minus 5 for every flip beyond the fewest, never below 0. Final score is the sum, max 300.
Commands. flip <k> · reset (restart this stack) · show · help. Separate several commands with semicolons.