Welcome to MSDN Blogs Sign in | Join | Help
We just announced the download availability of the 8th CTP of Small Basic.  Check out http://blogs.msdn.com/smallbasic/archive/2010/02/05/small-basic-v0-8.aspx for details.

The eigth and newest installment of Small Basic is now available for download! 

Check it out here

(If the link gives you a previous version, please refresh your browser's cache and try again.)

This release features:

  1. Addition of details about your published programs.
  2. Rating system for programs published online.
  3. Rich formatting based copy (useful for printing Small Basic programs)
  4. Keyword help in Intellisense plus code samples.
  5. Performance improvements in the Library APIs.

In addition, we have localized Small Basic in three new languages, Chinese Traditional, Japanese and Portuguese.

The coolest feature in this release is the Silverlight player for Small Basic programs.  Now you can run Small Basic programs on your browser without having to install the IDE.  You can even embed your programs/games on your blog!  As a sample, check out Tetris below!

 

Lynn Langit is an active proponent of Small Basic and has been responsible for changing thousands of students' lives by teaching them programming.  She conducts regular classes to teach programming to anyone interested.  If you're around in San Diego or Ivine, check out her blog post, http://blogs.msdn.com/socaldevgal/archive/2010/01/07/teaching-kids-to-code-free-classes-in-jan-2010.aspx for information on how you can attend these classes.

Note: All the programs listed below can be downloaded directly into Small Basic.  Just import the programs using their published Id.

What started as a fun challenge in our Small Basic Forums, quickly turned into a repository of very interesting programs, all conforming to a 25-line limit.  It is amazing to see enthusiastic participants come up with very creative patterns to embed complex logic in as few lines as possible.

The challenge started with the classic game of Rock/Paper/Scissors, written in 24 lines by Coding Cat and published as CTB433.  This was meant to be just an example for the challenge, but within days, Jason Jacques posted a 9 line version of the same program, published as CTB433-1.  And the race was on.

Recently Rushworks posted a trick to initialize Small Basic arrays in a single line.  Hours later, Davey-Wavey came up with a feature-par version of the original Rock/Paper/Scissors in 3 lines flat!  This version is published as CTB433-2.

25line_1

And using a few tricks and assumptions about the size of the text window, Jason came back and posted the same program in just 2 lines!  It is published as CTB433-5.

As this race was going on, litdev published the Swarm of Bees as MSH031 in 25 lines.25line_2

Simultaneously, Dudeson published a similar program, RRS083 which simulates an atom with the mouse center as the nucleus.  And Grzegorz Tworek, published his Lissajou’s Curve simulator program as GQP876, in 11 lines. 

25line_3

Dudeson went back and improved his atom code to publish RPW587, which runs much faster.

25line_4

Other programs that you’ll find on this forum:

Sudoku Solver

(25 lines)
by Jason Jacques: CGW786

25line_5

Sub Hunt

(25 lines)
by Coding Cat: KDN168
also by Davey-Wavey: KDN168-0

25line_6

Space Invaders

(20 lines)
by Davey-Wavey: XDK444

25line_7

You probably have heard of the "Graduate" feature introduced with the Small Basic v0.7.  If you haven't - you should check it out - it allows you to convert any Small Basic program into an equivalent Visual Basic program, allowing you to gently ramp up to the full power of a professional programming language.

Here's how it works.  You start with a program you wrote or opened or imported.  In this case, let's import "TETRIS" from the web.

When run, this should pop-up a fully playable Tetris game. 

When we hit the "Graduate" button on the toolbar, we are presented with this friendly wizard which asks for the location to put the converted Visual Basic project.

Once we pick a location and hit Continue, we should see Visual Basic should launch with the Tetris program.

If you don't have Visual Basic installed on your machine, you would see this page on the wizard:

The link (http://microsoft.com/express/vb) allows you to download a free version of Visual Basic that is compatible with Small Basic.

 

Marking the first year anniversary since it went public, we're announcing the 7th release of Small Basic CTP.  This release adds localized support to four new languages, extending Small Basic's reach to Chinese, French, German, Italian, Korean, Russian, Spanish and Turkish!

In addition, this release sports a cool new feature called "Graduate", that allows you to port your Small Basic program seamlessly to Visual Basic.

Download v0.7 here

In addition, this version also comes with the following much requested features and bug-fixes:

  1. A helpful crash reporting dialog that pops-up whenever your program crashes
  2. Fixes to Scrollbar size to make it easier to find in huge documents
  3. Fixed crash when a specified image cannot be loaded
  4. Fix for foreign keyboards not being able to use AltGr
  5. Opacity and Visibility properties for Shapes
  6. Make comments and objects more differentiated in syntax color

This week's Small Basic sample of the week comes from kts99 who has written this beautiful game, SOko Cute.  This is one of the first samples that make great use of the Shapes.Rotate and Shapes.Zoom APIs.  You can check out this game in Small Basic by importing program id: SOKO

Program listing can be found at: http://smallbasic.com/program/?SOKO 

You can download Small Basic for free at http://smallbasic.com/, to try this sample and more.

LitDev is an expert in real-world physics programming, and he frequents the Small Basic forums providing answers to people's queries.  One of his sample programs, the collision box, best demonstrates the expertise of LitDev and capabilities of Small Basic.

This program can be directly imported into Small Basic by using the ID: PMT149

The program provides all the interesting knobs and you can even click on the balls to stop them.

We have a new version of Small Basic for download at http://smallbasic.com.  This release adds German localization on top of existing French, Spanish and Russian.

Also, this release sports a lot of small bug-fixes and some most requested features:

  1. Updated the manual to include a chapter on Arrays 
  2. Added Zoom capabilities to Shape
  3. Added Arc Trigonometric operations in the Math object
  4. Removed Arguments object and moved the functionality into Program object
  5. GetAllIndices operation on Array allows iteration on top of all array values
  6. Added ElapsedMilliseconds to help measure time
  7. Added TextInput events, to help write text input features on GraphicsWindow
  8. Fixed crashes related to event subscription
  9. Fixed cursor visibility issues

When you have downloaded and installed, import STARGATES and try out the fun game.

 

 

Download from: http://download.microsoft.com/download/9/2/1/921D10C7-75C0-4395-93AF-49A830F4780E/Small Basic Einfuehrung.pdf

 

This week's sample is an adventure in Space - a game called Star Gates, developed by BigDaddyo.  This exciting and fun game takes game programming in Small Basic to the next level - with amazing sound and graphics effects.  You can find the program listing at: http://smallbasic.com/program/?STARGATES.  You can also download this program directly into Small Basic by using the Import ID: STARGATES.

Download Small Basic: http://smallbasic.com

About 20 years ago, Microsoft released MS-DOS 5, and with it shipped a programming language called QBASIC.  One of the samples that came with QBASIC is GORILLAS.BAS.  The game used real-world Physics to make players hit each other with... wait for it... bananas.  Come on, what did you expect from a game where the players are gorillas.

Fast forward to now.  Rushworks has successfully captured the nostalgia with Gorillas for Small Basic.  You can download and play the game by using the ID: NLQ667-2.  The program listing is also available at: http://smallbasic.com/program/?NLQ667-2 


Check out this forum thread for more discussion on this game.

The Russian localized version of Small Basic went live today, as v0.5.1.  No other change has been made and all the remaining functionality is the same as v0.5 (including English, French and Spanish).  So, if you want Russian, go ahead and download Small Basic from the same location (http://msdn.microsoft.com/en-us/devlabs/cc950524.aspx).  As always, please refresh your browser, and clean up the cache if need be to get the new version. 

If you're running English version of the Operating System, you can run:

    %programfiles%\microsoft\small basic\sb.exe /l:ru-ru

to launch the Russian localized version.

Have an English Operating System, but want to run the Spanish version of Small Basic?  Yes, you can do that with your current installation - and you don't even have to install anything extra. 

In your Start Menu (or in your Run prompt), type

  %programfiles%\microsoft\small basic\sb.exe /l:es-es

and hit Enter. This will launch the Spanish version of Small Basic. 

  %programfiles%\microsoft\small basic\sb.exe /l:fr-fr

will launch the French version of Small Basic.

As of v0.5, we support only those two languages, but expect more languages support soon.

Color Picker by Suduadib is an example that shows the usage of arrays in Small Basic.  You can import this program using the id: SGS247.

Program listing is available at: http://program.smallbasic.com/?SGS247

More Posts Next page »
 
Page view tracker