Quote Originally Posted by Jonax View Post
About the keys 1-5 for selecting difficulty I actually got a special reason for chosing them.
Why? It's for the benefit for younger users who may learn/confirm a tiny bit of knowledge from this.
That is the number (of balls) is 2^(selected key-number). 2¹ = 2, 2²=4, 2³=8, 2⁴=16 and 2⁵= 32.
That is interesting. But using RadioGroup would not deviate from this since RadioGroup buttons would also be marked from 1 to 5.
Now using of RadioGroup also has another possible advantage. And that is giving you an option to make whole game being controllable by just mouse or perhaps even through touch screen interface (not sure how good is support for these in Lazarus). Modern Delphi versions provide touch support right from the start without any additional code necessary (that is unless you are interested in special.gestures).