Small Basic Challenge of the Week 2 and 3 RRS feed

  • General discussion

  • Welcome to the 'SmallBasic Challenge of the Week'.  This is just a suggestion for a programming project where users can contribute their solutions/ideas and help each other.  There are no prizes and the only rule really is to use standard SmallBasic methods (no extensions).  Post solutions/help on this thread that will remain 'sticky' for about one week before we move onto the next.  Please also give any suggestions for a future 'Challenge of the Week'.


    Suggestion 1] A painting program, with a wheel of colors to choose the brushcolor from.  Hint: Start from the getting started guide example 'A paint program'.

    Suggestion 2] Make graphical explosion in the GraphicsWindow.  Hint: Look at the Shapes methods Move, Zoom, SetOpacity and Rotate.

    Week 3

    Text Challenge:
    How many palindromic integer numbers less than 1000 are there?
    A palindromic number reads the same backwards as forwards, for example 131, 55 and 9.
    Hint: Use the reversing code in week 1 to help.

    Graphical Challenge:
    Draw a face in the graphics window.

    • Edited by litdev Friday, July 15, 2011 5:12 PM Week 3 added
    Monday, July 11, 2011 5:15 PM

All replies

  • Here is my entry for the Painting Program: PCX536

    All of the images besides the color wheel were drawn by me (I am an AWESOME 3D artist. Well, I am not really, but I am good), so feel free to use them for any use you want. I am not yet finished with my entry, but this is just how far I am so far. Here is a list of stuff it can do:

    *Pencil Tool

    *Save your file (not so good yet)

    *RGB Sliders+Color Wheel for choosing colors

    *Floodfill tool (Paint bucket)

    *Eraser Tool

    *Ellipse tool

    *Rectangle tool

    *Selection Tool

    Here is a list of stuff I'd like to add to the current project:

    *Undo log, so you can do Ctrl+Z

    *Zoom Tool

    *Ellipse Selection Tool

    *Gradient Tool (this would be very slow)

    *Text tool

    *Eyedropper Tool

    *Add a some layers stuff

    *Add a rotate/move tool

    *Flip horizontal/vertical tool (this would be very slow)

    So that's it so far!

    Tuesday, July 12, 2011 5:44 AM
  • Some ideas on graphics using shapes properties (explosion) - Import LSL807.
    Thursday, July 14, 2011 6:29 PM
  • SLZ527
    Saturday, July 16, 2011 2:09 AM
  • Hi it's my first explosion import GDH723


    Saturday, July 16, 2011 7:02 AM
  • I tried to draw a face.

    import RBM143 

    (I am Dmitry Lbov)

    Saturday, July 16, 2011 10:37 AM
  • AirWaves i found bug in your program. Penwidth cannot be negative.

     There i fixed it-  import pcx536-1



    Saturday, July 16, 2011 12:15 PM
  • Thanks LordDmirty
    Sunday, July 17, 2011 1:40 AM
  • I've completed the task with palindromic numbers.

    Import MSX613

    Monday, July 18, 2011 11:57 AM
  • @LitDev

    Did you get the email I sent to you a few days ago? With suggestions of very simple beginners challenges? They might not all be suitable here though.

    Thursday, July 21, 2011 9:34 PM