Small Basic Challenges of the Month (November 2016): Scrolling Text Banner, SB Logo, Turtle Mascot, Tic Tac Toe, and Checkers!


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!

Participate here: https://social.msdn.microsoft.com/Forums/en-US/e1b8c677-1592-41cf-b8b5-018ade0d728e/challenge-of-the-month-november-2016?forum=smallbasic

Please post your solutions / partial solutions / questions / feedback etc. into this thread that will remain ‘sticky’ in the forum for the month.  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 in this thread 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.

TextWindow Challenge

  • Write a scrolling text banner for the TextWindow.  It should continuously scroll and repeat itself.

Graphics Challenge

  • Draw some of the new Small Basic logos or mascot and even animate them if you can.
  1. Road to Small Basic 1.3 Blog #1 – Exploring New Logos
  2. Road to Small Basic 1.3 Blog #2 – New Mascot

Refactor Challenge

  • Last month gucerni made a great tick tac toe game.  Here it is BJX729.  There is a lot of similar repeated code in it.  The challenge is to modify the code to be as short as possible (while keeping the functionality identical).
  • Who can do it in the least lines?
  • As a second part to the challenge can you improve the AI so it the computer plays better and wins if the human player makes a mistake.

Game Challenge

  • Write a draughts (also called checkers) 2 player game.
  • The hard part will be validating that a move is allowed.
  • If you get this going then the AI to play against the computer should also be pssible, but this is a tough challenge.

Community Challenges

  • Guitar chords (By YLed) – LINK
  • Draw Freehand Like Picture (By Nonki) – LINK
  • Substractive Color (By YLed) – LINK

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

Thank you for your participation!

  • LitDev and…
  • Ninja Ed

 

Comments (3)

  1. YLed says:

    @Antonio
    i have run your program LWW221 great drawing, a green turtle with cubes, wow ! nice logo.

  2. Tryhest says:

    modified antonio’s app: NHB414-0

Skip to main content