Want to get better at programming in SmileBasic? Attached are ten exercises I adapted from exercism.io with associated test scripts.
Please give it a try and let me know if you run into problems.
Thanks!InstructionsStart by running 00_main_menu. This will show you information about what you need to do. Basically there is a suite of ten problems each with an associated test program. Your job is to fill in the code for each program so that it will pass the test script, and hopefully gain some coding experience along the way.
For each program there are several files. We will talk about the Hello World problem as an example. HELLO is the file you add code to. HELLO.TXT is the description of the problem (also displayed by the 00_main_menu program). HELLO_STUB is the basic setup for the problem. If you get stuck you can reset things by copying this over top of HELLO. HELLO_TEST is a test suite for the problem. Finally HELLO_KEY is a reference implementation (in case you get stuck or think the problem is unsolvable).
When you run the test suite and it runs through all of the problems without errors you have won/finished.
If people like this I could update the program with more problems. Hope you have fun!