Challenge of the Month - February 2021

Nonki Takahashi 676 Reputation points
2021-02-07T02:49:50.33+00:00

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. The only rule is that your solution must use standard Small Basic methods (no extensions).

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.

We may extend these challenges over into a second month if solutions and questions are still coming in.

64856-square.png

Turtle Challenge

  1. Write a program to draw a square with Turtle.
  2. Try to change the edge length of square.
  3. Try to change the angle of the shape.
Small BASIC
Small BASIC
A programming language created by Microsoft that serves a stepping stone for beginners from block-based coding languages to more complex text-based languages.
277 questions
0 comments No comments
{count} votes

Accepted answer
  1. Tryhest 221 Reputation points
    2021-02-08T19:07:37.32+00:00

    25 squares at golden angle:
    65508-image.png

    Turtle.Speed=10  
    GraphicsWindow.BackgroundColor="teal"  
    ll=140  
    For xx= 1 To 25  
      GraphicsWindow.PenColor=GraphicsWindow.GetRandomColor()  
      ll=ll-3  
      Turtle.Angle=Turtle.Angle+137.5  
      For x= 1 To 4  
        Turtle.Move(ll)  
        Turtle.Turn(90)  
      EndFor  
    EndFor  
      
    
    1 person found this answer helpful.
    0 comments No comments

8 additional answers

Sort by: Most helpful
  1. Tryhest 221 Reputation points
    2021-02-27T07:57:58.64+00:00

    exif photo tags: SVK843

    select folder to show all pics info
    72653-xff.png

    1 person found this answer helpful.
    0 comments No comments

  2. Tryhest 221 Reputation points
    2021-02-17T08:37:13.09+00:00

    turtle sokoban 7 levels solver: MNC941
    68929-l7.png

    0 comments No comments

  3. Tryhest 221 Reputation points
    2021-02-18T17:06:59.253+00:00

    soko 12-levels at once: XVL633

    69752-skk12.png

    0 comments No comments

  4. Tryhest 221 Reputation points
    2021-02-19T21:18:17.537+00:00

    soko16 lvlz: DTZ190

    70212-s16.png

    0 comments No comments