The top open-source alternatives to while True: learn()
are Colobot Gold and OGS.
One of the criteria for ordering this list is the number of mentions that products have on reliable external sources.
You can suggest additional sources through the form here.