Put together, the four rules fix the count: a 9×9 board holds 18 stars and a 10×10 board holds 20. "Touching" means sharing an edge or a corner, so two stars always need at least one empty cell between them in every direction, including on the diagonal.
You will meet variants. One-star Star Battle puts a single star in each row, column and region, usually on smaller grids (it is the rule set Queens uses), and three-star versions run on big grids. Ours are the classic two-star game. Every board has exactly one solution, and our solver checks that you can reach it by logic alone, with no guessing.