Saving and Sharing Programs

This is not particularly a "lesson" on programming or on the Lua language, but it is still very important question asked by many beginners.

After I learned a bit of syntax and started to write first small programs of my own - how to show them to my friends, relatives and the whole world?

Generally this depends on which platform, system etc your program is targeted for.

In our school it is very simple:

  1. Visit this page called Playground - you need to be logged in (simply to know later which programs are yours).
  2. So if you are logged in, you'll see the canvas, the output box and the code area. They function just the same way as here in school.
  3. Create your program, test it by clicking similar "Run" button.
  4. When satisfied, click "Save" button below. You'll need to provide some short name for your program, e.g. simplegame.
  5. In a few seconds program is saved and the page is reloaded so you have the direct url to your program in the browser address line! Copy it and send to your friends or anyone!
  6. When your friends open the page with your program, they don't see program area - instead the program is automatically started.

Examples:

If you want to update some of your saved programs - they are listed below the saving button. Just click any of them to load corresponding page. If you want to delete some, just remove all the code and type instead delete it please, then press "Save" as usually.