What can I improve in the readability of my code?

some general improvements you can make yourself:

print(5 // 2) --output: 2

You can also test your luck with AI to simplify, but it can spew nonsense most of the time.

Also don’t put everything into one script lol