RadioGroup is standard in Lazarus too. Very useful, them standard components
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.
Not much but this is a game and not a physics and math lesson.
Bookmarks