January 2019 Small Basic Challenges!!!

This post has been republished via RSS; it originally appeared at: Small Basic Blog articles.

First published on MSDN on Jan 12, 2019

Authored by Ed Price


These challenges are intended for people who are learning to program for the first time or for those returning to programming who want to start using Small Basic.  Some will be easy, some will be hard - but they will all make you think, and more importantly be GREAT FUN!

Please post your solutions / partial solutions / questions / feedback etc. into this thread that will remain 'sticky' for the month.  The only rule is that your solution must use standard Small Basic methods (no extensions).

Here is the forum thread .

It would be good if people could post their problems with these challenges so that a discussion can start so that everyone can learn from each other.

Graphics Challenge

  • Draw a picture of a space ship

  • Give it a cool space starry background

  • Draw the phases of the moon





Turtle Challenge

Use the Turtle to draw a coloured 'tartan' checked pattern

Use different pen widths and transparency and maybe the same repeating pattern vertcally and horizontally using subroutines




Geometry Challenges

  • Write a program to draw a pentagon

  • Write a program to draw a 5 pointed star

  • Write a program to draw a cog

  • Write a program to draw a cog wheel that rotates

  • Write a program with two meshed cogs that turn

  • Finally, white a program with 3 or more meshed rotating cogs





GUI Challenge

White an interface with buttons to move backwards and forwards through a list of options.

Each time the an option is selected new options are presented from the list.

The list could be anything, perhaps the colours of the rainbow.

Add an image or description of the currently selected item.

Try using partially transparent buttons covering textboxes to change the buttons' text.




Do you have an idea or a future challenge? Please post it here!



Small and Basically yours,

LitDev & Ninja Ed!



REMEMBER: these articles are REPUBLISHED. Your best bet to get a reply is to follow the link at the top of the post to the ORIGINAL post! BUT you're more than welcome to start discussions here:

This site uses Akismet to reduce spam. Learn how your comment data is processed.