none
Challenge of the Month - May 2014

    General discussion

  • 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 SmallBasic.  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 SmallBasic 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.

    Also post feedback on the kind of challenges that you want to see more of in the future.

    Curriculum Challenges 3.5

    1. Write a GraphicsWindow program with TextBoxes that you can enter your name and age.
    2. Extend the program to include a Button that takes the entered data and adds it to an array of this information.
    3. Create Buttons to load and save the data array data to a file.
    4. Finally add Buttons to step through the data array and display it in the name and age TextBoxes.


    TextWindow Challenges

    1. Write a program to count the length of words in an input sentence.  The program should say how many 1 letter, 2 letter, 3 letter etc words there are.
    2. Write a program to input 5 numbers, then calculate their sum (add them) and their product (multiply them).
    3. Write a program to input some text, then somehow convert it to notes (one for each letter) played by the Sound object.


    Graphics Challenge

    1. Write some simple optical illusions.  Here is one to give the idea.



    Maths Challenge

    1. I have a card game called "dobble".  It has 55 cards and each one has 8 different pictures on it.


    The interesting thing is that any and every pair of cards that I choose at random has exactly one object in common.  In the pair above they share a red clown face.  Note that there is never more than one shared picture for any pair of cards.

    The challenge is to write a program to allocate pictures for each card.  You can use as many pictures as is necessary to do the task.

    HINT - use numbers rather than pictures to do the calculations.  You don't actually need the picture images, just replace the unique pictures with numbers.

    The program should say which images (or numbers) should be on each card.

    How many images (or numbers) do I need for the 55 card pack?


    Game Challenge

    1. We have had the vertical scrolling game last month, so now it's the platform game.  The challenge is to have some stationary platforms at varying heights that the player can move along (Left and Right) and jump (Space) up and down to.  If the player falls too far (misses a platform) then they die.
    2. If you get the player jumping to platforms, then create a game out of it with some objective or scoring.


    Community Suggestions (by Ed Price)

    "Initially, I thought about making it completely interactive, i.e., a math problem is displayed on the screen, it will wait for an answer (with a timer if necessary), check the answer, add it to the tally, and finally gives the grade after all 20 questions are completed."

    From this blog post from Ray Fast:

    http://blogs.msdn.com/b/smallbasic/archive/2014/04/29/a-math-worksheets-generator.aspx

    You could even start with his code and build it from there.

    Community Suggestions (by Nonki)

    1. Create a word list from a text file.
    2. Draw a geometric pattern.
    3. Draw an animation of a moving robot.

    Some answers already last month by Athasak!


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

    Thursday, May 01, 2014 6:21 PM

All replies

  • The code for some more optical illusions to give some ideas and how they were done.  Simple, but effective.

    QQH165, BNM050, GQM141, WCB562, ZRG831, LKV739, XGC842.

    The green and blue are both the same colour (Cyan).  Check the code to see!

    Thursday, May 01, 2014 6:57 PM
  • GNZ675

    Illusion challange


    It is written: "'As surely as I live,' says the Lord, 'every knee will bow before me; every tongue will acknowledge God.'" Romans 14:11

    Thursday, May 01, 2014 10:53 PM
  • GNZ675

    Illusion challange


    It is written: "'As surely as I live,' says the Lord, 'every knee will bow before me; every tongue will acknowledge God.'" Romans 14:11

    Fine!

    Screen shot of a program


    Nonki Takahashi

    Friday, May 02, 2014 9:37 AM
  • This is my program for graphics challenge: TQH071.

    Screen shot of a program Optical Illusion #01


    Nonki Takahashi

    Friday, May 02, 2014 9:43 AM
  • 

    Uploaded program for entering names and age and saving them to a file uploaded as FZX298. Previously I have created a program mini data base for saving contact information. It is also uploaded here Code is VFT667 Also gone through illusion programs uploaded by litdev, nonki and zoc77 they are great

    Screen Shot FZX298

    Screen Shot VFT667

    • Edited by Vasekar Sunday, May 04, 2014 5:31 AM
    Friday, May 02, 2014 2:14 PM
  • Here are my ideas for a future challenge:

    1. Make a Escape Game and it have 3 rooms.
    2. Make a Adjustable Hourglass.
    3. Make a Screen keyboard.
    Friday, May 02, 2014 8:44 PM
  • This is the TextWindow Challenge LCQ579


    Friday, May 02, 2014 9:11 PM
  • Here's my setup for Data base challenge: ZTC919-1


    Friday, May 02, 2014 9:14 PM
  • This is the TextWindow Challenge2 FBC532 

     
    Friday, May 02, 2014 9:26 PM
  • You guys are fast - nice work!
    Friday, May 02, 2014 10:52 PM
  • Community Suggestions (by Edd Price)

    Import ID: CTL065

    NOTE: The program is not so good :) so please if you want it to be at least "good" don't run it online.

    Please import it in "Microsoft Small Basic". '''(thanks)'''

    ^  ^

    Sunday, May 04, 2014 9:01 AM
  • My finished solution to Data Base challenge: ZTC919-1

    Tuesday, May 06, 2014 12:00 PM
  • Curriculum Challenges 3.5

    Import ID: TZZ326

    NOTE: Please import this program in "Microsoft Small Basic"
    Thursday, May 08, 2014 3:31 PM
  • Great database solutions by Vasekar and Athasak. Thanks. -multi form solutions!-

    One good tip I got from this forum was to "keep an open mind". So when ever I take time to check out someone else's code I take something from it. Always.

    Vasekar's code took me on a journey of file extensions and what they are used for and Athasak has really got me thinking about "Best Form Graphics" - consistent, clear, crisp and informative.

    Here's a pic of some Athasak's (excellent) form graphics, (each form has this graphic):

    If you're working through the curriculum (the best start-up learning resource I reckon) - keep it up! Looks like you're digging deep.

    The good news is that Learning to program is a marathon and not a fleeting sprint - something you can enjoy learning for the rest of your life. Can be Life Changing!

    Athasak I think when you get to Arrays you'll love it. They can help reduce code duplication.

    GraphicsWindow.BackgroundColor = "DarkBlue"
    GraphicsWindow.BrushColor = "yellow"
    GraphicsWindow.FontSize = 20
    margin = 10
    lineHeight = 30
    
    lineContent[1] = "If you wish to create a new contact, simply push the 'Contacts'"
    lineContent[2] = "button, then choose one of the empty slots and fill the "
    lineContent[3] = "textboxes with information. After that press 'Finish' in order"
    lineContent[4] = "for the program to remember your information. Now if you"
    lineContent[5] = "wish to cancel the creation of a contact then you have to press "
    
    For i = 1 To Array.GetItemCount(lineContent)
      line[i] = Shapes.AddText(lineContent[i])
      Shapes.Move(line[i], margin, margin + lineHeight * (i-1))
    EndFor
    
    GraphicsWindow.Width = GraphicsWindow.Width + 50 'update GW

    Thursday, May 08, 2014 8:17 PM
  • Thank you very much Jibba, I will try to practice arrays as you told me, although they are a little bit confusing for me at the moment :) I never tried to experiment with Arrays but I think it's time to get to them :)

    I think I kinda understand what they do now that you helped me... :)

    By the way... that 152 number simply made my day :D hahaha...

    Thursday, May 08, 2014 9:10 PM
  • This is my sample for community suggestion 2: JTH842.

    Screen shot of a program Geometric Pattern 0.1


    Nonki Takahashi

    Friday, May 09, 2014 8:27 AM
  • This is my sample for community suggestion 1 by Nonki: BKM132-0.

    File name? challenge.txt
    1 These challenges are intended for people who are learning to program for the
    2 first time or for those returning to programming who want to start using
    3 SmallBasic.  Some will be easy, some will be hard - but they will all make you
    
    4 think, and more importantly be GREAT FUN!
    
    all ... 3
    and ... 4
    are ... 1, 1
    be ... 3, 3, 4
    but ... 3
    challenges ... 1
    easy ... 3
    first ... 2
    for ... 1, 1, 2
    FUN! ... 4
    GREAT ... 4
    hard ... 3
    importantly ... 4
    intended ... 1
    learning ... 1
    make ... 3
    more ... 4
    or ... 2
    people ... 1
    program ... 1
    programming ... 2
    returning ... 2
    SmallBasic ... 3
    Some ... 3, 3
    start ... 2
    the ... 1
    These ... 1
    they ... 3
    think ... 4
    those ... 2
    time ... 2
    to ... 1, 2, 2
    using ... 2
    want ... 2
    who ... 1, 2
    will ... 3, 3, 3
    you ... 3
    Press any key to continue...
    

    Nonki Takahashi

    Tuesday, May 13, 2014 5:08 AM
  • This is another sample for community suggestion 2 by Nonki: JTH842-0.

    Screen shot of a program Geometric Pattern #02


    Nonki Takahashi

    Tuesday, May 13, 2014 8:56 AM
  • Why there is any game challenge?

    :D:D:D:D:D:D

    Tuesday, May 13, 2014 5:35 PM
  • Found it:

    Game Challenge

    1. We have had the vertical scrolling game last month, so now it's the platform game.  The challenge is to have some stationary platforms at varying heights that the player can move along (Left and Right) and jump (Space) up and down to.  If the player falls too far (misses a platform) then they die.
    2. If you get the player jumping to platforms, then create a game out of it with some objective or scoring.

    Tuesday, May 13, 2014 8:42 PM
  • Thanks Jibba Jabba,

    But I mean Why the people didn't make the game challenge? 

    Wednesday, May 14, 2014 3:54 PM
  • Nonkis cubes look great and also could be an optical illusion. Reminds of a WhiteCap sequence

    Wednesday, May 14, 2014 8:10 PM
  • Oh. I've been pretty busy working on some other stuff. However I try and do a bit on it before month end.

    Check out this thread: http://social.msdn.microsoft.com/Forums/en-US/2749e2bd-4363-4a64-8158-a2f7ca74fffb/post-your-first-sb-program?forum=smallbasic

    Zock posted a really good version of this on that thread. Scroll down to his 2nd post. PGR013 by Zock


    • Edited by Jibba JabbaEditor Thursday, May 15, 2014 4:17 AM changed link, thanks Zock
    Wednesday, May 14, 2014 10:18 PM
  • I Think you meant this thread:

    http://social.msdn.microsoft.com/Forums/en-US/2749e2bd-4363-4a64-8158-a2f7ca74fffb/post-your-first-sb-program?forum=smallbasic

    Also, Check out the code for that. A LOT of if then statements :D


    It is written: "'As surely as I live,' says the Lord, 'every knee will bow before me; every tongue will acknowledge God.'" Romans 14:11

    Wednesday, May 14, 2014 11:22 PM
  • TextWindow Challenges: 3

    Ideas for a future challenge from ProfessionalOfSmallBasic (3. Screen Keyboard)

    This program was big and it could not be published.

    In order to see the code and copy-paste it in "Microsoft Small Basic" click this arrow --►


    • Edited by Athasak Thursday, May 15, 2014 3:40 PM forgot a hyperlink :)
    Thursday, May 15, 2014 1:57 PM
  • I just looked at your program for a few minutes ;-)

    You can shorten it considerably by using arrays, e.g. in lines 1296 thru 1360 you have 65 lines with   

          Shapes.ShowShape(rectangle1) etc.

    If you define your rectangles with  rectangle[1] thru rectangle[65] you can replace these 65 lines with

    for rec=1 to 65

      Shapes.ShowShape(rectangle[rec])

    endfor

    Another point: you have a lot of If .. Then's with corresponding   y > 310 And y < 345

    You can use two In/Then inside each other:

    If y>310 and y<345 then

      If x > 280 And x < 320 Then

         .....

      ElseIf x > 330 And x < 370 Then

        ...........

      EndIf

    ElseIf y > 355 And y < 390 Then

    And so on


     


    Jan [ WhTurner ] The Netherlands

    Thursday, May 15, 2014 2:25 PM
  • Jibba Jabba told me the same thing about the arrays but I was full speed ahead for the program and so I didn't practise them... but thanks for mentioning it :)

    Thursday, May 15, 2014 3:37 PM
  • Start to my sidescroller game:

    http://www.mediafire.com/download/4yswprgqqambe94/SideScroller.zip

    (Arrow keys to walk, Space to jump)



    It is written: "'As surely as I live,' says the Lord, 'every knee will bow before me; every tongue will acknowledge God.'" Romans 14:11



    Thursday, May 15, 2014 8:47 PM
  • TextWindow Challenges:

    1. Import ID: VLJ342 (this program is not 100% complete, but that's as far as I could go :)

    2. Import ID: JCG451

    3. Import ID: ZMB536

    Friday, May 16, 2014 10:10 PM
  • Graphics Challenge:

    1. Import ID: FQX698

    2. Import ID: XNG184

    3. Import ID: BGN927


    • Edited by Athasak Saturday, May 17, 2014 5:30 PM forgot to bold the ID's
    Saturday, May 17, 2014 5:28 PM
  • Athasak,

    Nice set of geometric illusions - this one works best for me when it moves or I move my head.


    Sunday, May 18, 2014 11:36 AM
  • Any ideas for the card game math challenge?
    Sunday, May 18, 2014 12:17 PM
  • Well, I haven't really figured it out yet :)

    I mean, should we make a program that contains circles and the circles contain numbers and when we click the 2 correct circles (that have one same number in them), these 2 circles disappear (or something like that) and then we try to find another pair?

    Sunday, May 18, 2014 1:00 PM
  • No, I was really thinking more about just working out what the cards should have on them. For example, using numbers rather than pictures.  By all means put pictures in for numbers at the end, but that's not the challenge.

    Card1: 1-2-3-4-5-6-7-8

    Card2: 1-9-10-11-12-13-14-15

    Card3: 2-9-16-17-18-19-20-21

    etc for 55 cards where each card has exactly and only one shared number with any other card chosen at random from the other 54 cards.

    Sunday, May 18, 2014 2:10 PM
  • Start to my sidescroller game:

    http://www.mediafire.com/download/4yswprgqqambe94/SideScroller.zip

    (Arrow keys to walk, Space to jump)



    It is written: "'As surely as I live,' says the Lord, 'every knee will bow before me; every tongue will acknowledge God.'" Romans 14:11



    Really? this game is awasome! Thanks Zock! :D

    Sunday, May 18, 2014 3:35 PM
  • @ Zock - Your game is fantastic - I love the walking man and it plays very well with the key controls - very well done!

    Programmable levels and all in just 165 lines of code many of which are blank.  Wow.

    Sunday, May 18, 2014 3:47 PM
  • I made a level and next level will be like this

    this is download link: download this


    Sunday, May 18, 2014 4:06 PM
  • Now I understand :) Thank you very much litdev ►, I will try it!
    Monday, May 19, 2014 6:31 PM
  • Thank you all for the support!

    I plan to add a goal to the game, and maybe more levels.


    It is written: "'As surely as I live,' says the Lord, 'every knee will bow before me; every tongue will acknowledge God.'" Romans 14:11

    Monday, May 19, 2014 11:29 PM
  • Game Challenge:

    Import ID: HKN288
    Tuesday, May 20, 2014 9:51 PM
  • litdev,

    I tried to make the dobble... but I can't : )

    Maybe I'll try again in the future.

    Thank you for explaining it to me though!

    Wednesday, May 21, 2014 10:07 AM
  • Here is my entry for the Game Challenge: BCL208-2

    It is a Doodle Jump Knock off based on code posted by Zock. The game runs continuously, until you miss. Reach the top and you get a bonus and the game instantly continues at the bottom. The platforms getting smaller and the speed getting faster as the game progresses. Score displayed at the top.

    Enjoy!


    • Edited by Coding Cat Thursday, May 22, 2014 1:52 PM Update with version 2 - Bug fixes, Credits and more balanced timing
    Wednesday, May 21, 2014 9:01 PM
  • Here is my entry for the Game Challenge: BCL208-2

    It is a Doodle Jump Knock off based on code posted by Zock. The game runs continuously, until you miss. Reach the top and you get a bonus and the game instantly continues at the bottom. The platforms getting smaller and the speed getting faster as the game progresses. Score displayed at the top.

    Enjoy!



    I like it!  Thank you, Coding Cat.

    Nonki Takahashi

    Friday, May 23, 2014 10:12 AM
  • This is my program for maths challenge: PMV523-0.

    This program randomly find the solution.  Number of pictures is calculated as 8 * 55 / 2.  If you change the 9th line to random = "False", you can get following result.

    1st Try
    01:001-028-056-092-111-124-166-177
    02:001-029-074-093-125-138-187-198
    03:002-029-056-075-139-152-188-199
    04:002-030-057-093-111-153-209-220
    05:003-030-075-094-112-125-166-210
    06:003-031-057-076-126-139-167-177
    07:004-031-058-094-140-153-178-188
    08:004-032-076-095-112-154-189-199
    09:005-032-058-077-113-126-200-210
    10:005-033-059-095-127-140-167-211
    11:006-033-077-096-141-154-168-178
    12:006-034-059-078-113-155-179-189
    13:007-034-060-096-114-127-190-200
    14:007-035-078-097-128-141-201-211
    15:008-035-060-079-142-155-168-212
    16:008-036-061-097-114-156-169-179
    17:009-036-079-098-115-128-180-190
    18:009-037-061-080-129-142-191-201
    19:010-037-062-098-143-156-202-212
    20:010-038-080-099-115-157-169-213
    21:011-038-062-081-116-129-170-180
    22:011-039-063-099-130-143-181-191
    23:012-039-081-100-144-157-192-202
    24:012-040-063-082-116-158-203-213
    25:013-040-064-100-117-130-170-214
    26:013-041-082-101-131-144-171-181
    27:014-041-064-083-145-158-182-192
    28:014-042-065-101-117-159-193-203
    29:015-042-083-102-118-131-204-214
    30:015-043-065-084-132-145-171-215
    31:016-043-066-102-146-159-172-182
    32:016-044-084-103-118-160-183-193
    33:017-044-066-085-119-132-194-204
    34:017-045-067-103-133-146-205-215
    35:018-045-085-104-147-160-172-216
    36:018-046-067-086-119-161-173-183
    37:019-046-068-104-120-133-184-194
    38:019-047-086-105-134-147-195-205
    39:020-047-068-087-148-161-206-216
    40:020-048-069-105-120-162-173-217
    41:021-048-087-106-121-134-174-184
    42:021-049-069-088-135-148-185-195
    43:022-049-070-106-149-162-196-206
    44:022-050-088-107-121-163-207-217
    45:023-050-070-089-122-135-174-218
    46:023-051-071-107-136-149-175-185
    47:024-051-089-108-150-163-186-196
    48:024-052-071-090-122-164-197-207
    49:025-052-072-108-123-136-208-218
    50:025-053-090-109-137-150-175-219
    51:026-053-072-091-151-164-176-186
    52:026-054-073-109-123-165-187-197
    53:027-054-091-110-124-137-198-208
    54:027-055-073-092-138-151-209-219
    55:028-055-074-110-152-165-176-220
    
    Press any key to continue...
    

    Nonki Takahashi



    Friday, May 23, 2014 2:36 PM
  • @Maths Challenge (dobble card game)

    This was a rather tough challenge - quite a lot harder than I thought it might be.  Any 2 cards picked at random from the 55 cards must share only one value (number or image).

    Looking at Nonki's solution, if I pick cards 1 and 7 (for example) they have no shared value.  There are many other pairs that don't share a value.

    01:001-028-056-092-111-124-166-177
    07:004-031-058-094-140-153-178-188

    I haven't come up with a good simple solution yet, I think you may need to think geometrically.  Anyway this is a bit harder than I thought.

    The following code is a trivial solution.  This is not much of a card game - it can be done with 57 images I believe.  There will be a prize for an original Small Basic algorithm solution that does it with 57 cards.

    next = 1
    For i = 1 To 55
      TextWindow.Write(i+":1-")
      For j = 1 To 6
        next = next+1
        TextWindow.Write(next+"-")
      EndFor
      next = next+1
      TextWindow.WriteLine(next)
    EndFor
    Friday, May 23, 2014 8:14 PM
  • A jump event sample: BMM203

    Saturday, May 24, 2014 8:30 PM
  • @Maths Challenge (dobble card game)

    This was a rather tough challenge - quite a lot harder than I thought it might be.  Any 2 cards picked at random from the 55 cards must share only one value (number or image).

    Looking at Nonki's solution, if I pick cards 1 and 7 (for example) they have no shared value.  There are many other pairs that don't share a value.

    01:001-028-056-092-111-124-166-177
    07:004-031-058-094-140-153-178-188

    I haven't come up with a good simple solution yet, I think you may need to think geometrically.  Anyway this is a bit harder than I thought.

    The following code is a trivial solution.  This is not much of a card game - it can be done with 57 images I believe.  There will be a prize for an original Small Basic algorithm solution that does it with 57 cards.

    next = 1
    For i = 1 To 55
      TextWindow.Write(i+":1-")
      For j = 1 To 6
        next = next+1
        TextWindow.Write(next+"-")
      EndFor
      next = next+1
      TextWindow.WriteLine(next)
    EndFor

    Umm, that's difficult...  I tried PMV523-1, but this program can't complete the solution.  At this point I have three ideas to solve this challenge.

    1. Can I reduce picture pattern from litdev's sample one by one?
    2. How about using Math.GetRandomNumber() in PMV523-1?
    3. Can I find enough numbers of pentagons or hendecagons (undecagons) in 55 vertices?  I made a sample PCP610.  Vertices means cards.  Lines (edges) means same pictures.

    Nonki Takahashi


    Sunday, May 25, 2014 2:55 AM
  • This is my first step for community suggestion by Nonki 3: GKM721.

    Screen shot of a program Robot 0.1

    I made these images with PowerPoint.


    Nonki Takahashi

    Sunday, May 25, 2014 5:07 AM
  • I found a program for community suggestion by Ed: VZC916.

    I wrote this program in May last year.


    Nonki Takahashi

    Sunday, May 25, 2014 9:16 AM
  • These are my ideas for a future challenge.

    1. Create your program database.
    2. Create a ticker tape animation.
    3. Create a piano recorder using piano sound of Sound.PlayMusic().

    Nonki Takahashi

    Sunday, May 25, 2014 11:03 AM
  • My solution to the Game Challenge. A bit of a deviation. A clone of Zocks game.

    GTK287-3

    A lesson in game design for me.

    I'm thinking the scoring will be a leaders board of those who "Hit the Roof" at Level 10 in the fastest time! Good luck, level 9 and 10 are validated as doable but you could go nuts trying! a bit like flappy bird.

    To do: the leaders board, graphics and story line.

    Monday, May 26, 2014 1:21 PM
  • Great game Zock!

    Top code sample too. Like the programmable levels.

    Monday, May 26, 2014 1:25 PM
  • MAD!!!

    I just got to the 5th rung in level 10.  1 rung to go.  I just couldn't do it.

    This game is a keeper for me. Definitely going to colour it in, add a clock and do a leader board.


    Tuesday, May 27, 2014 2:28 PM
  • Challenge!

    I had 1 rung to go.

    See how far you can get.  GTK287-3


    Tuesday, May 27, 2014 2:56 PM
  • I reached level 7 :)
    Tuesday, May 27, 2014 5:00 PM
  • SBJump -- Update 2

    Import code: BCL208-3

    Again, borrowing Zocks code as a base, this is a fun little knock off of DoodleJump. In the vein of the classic arcade games, SBJump is continuous with the platforms getting smaller and the speed getting faster as the game progresses. Bonus multiplier at the end of each level.

    The big changes to this version are a taller screen, balanced frame delays and scoring, and a title and credit scroll as beginning and end of the game. With teaching in mind I also pulled apart the spaghetti code and organized it into subroutines.

    Enjoy!


    • Edited by Coding Cat Tuesday, May 27, 2014 8:03 PM Picture did not link.
    Tuesday, May 27, 2014 7:59 PM
  • Nice one Coding Cat.

    http://en.wikipedia.org/wiki/Doodle_Jump   Has a story...

    Game design (my thoughts):

    • accessible
    • addictive
    • challenging
    • doable
    • leaders board
    • charming story line
    Tuesday, May 27, 2014 10:17 PM
  • Cheers Athasak

    It's a beta version of just the game play. The bones if you like. Now I can add in some details.

    I'll share my story with you:

    It took me 1 yr and 5 months of regular practice with SB before I could confidently code a reconfigurable game with a logical structure and setup. I gave myself as much time as I needed. It's a marathon and i'll be coding when I'm a 100 years old. So I've got plenty of time.

    Working through the curriculum, challenges, studying relevant wikis etc when I was ready. Some trial and error, 3 steps forwards and 2 steps back, but always progressing slowly by never giving up, practicing and maintaining my morale.

    I was totally impressed with your database. You really nailed a lot of detail! And a very nice gui. But what impressed me more was your reply to my array comment:

    " I will try to practice arrays as you told me, although they are a little bit confusing for me at the moment :) I never tried to experiment with Arrays but I think it's time to get to them :)"

    Top reply I reckon! Only you know what you're ready for and where you're up to.

    Trial and error is simple: we try something new when we're ready, make the mistakes, chill out a bit and clear our head of any frustration when things don't work, maybe do something easier again, then try again but a little bit more experienced each time.

    I think looking after our morale is one of the vital traits of a programmer.

    It's our little victories that over years that will make us very happy coders.

    Look forward to collaborating with you as time goes on.

    I'll post some reading material soon that maybe helpful.

    Tuesday, May 27, 2014 11:14 PM
  • I couldn't agree with you more Jibba. I had exactly the same thoughts in my head. In my opinion you are totally right about everything you said and be sure that I would love to collaborate with you very much! ^_^

    There is only one thing. I am a college student (conservation of ancient artwork) and the finals are getting closer and they are going to last until 7/7/14. That means I will be free at July 7th :) to make programs!

    So I must not give to much time to programming until then :(((((((...

    Despite all that, I will try to replace some of my resting time with programming time, I just love these month challenges so hard! hahahaha... 

    Wednesday, May 28, 2014 10:05 AM
  • I'm thinking that we already do collaborate, all of us, here on the forum.

    I just come and go when I can or is convenient. I have other commitments as well.

    So if I have a question or thought and your busy, someone else replies. And vice versa.

    A very effective casual "crowd style" collaborative method I reckon.

    Good luck with College. SB forum will always be here when it suits us.

    Some people disappear for months then come back for some SB fun.

    Wednesday, May 28, 2014 10:33 AM
  • (^_^)
    Wednesday, May 28, 2014 11:08 AM
  • To Jibba Jabba, and Athasak, you pretty much nailed why SB is so much fun.

    As a teacher I lurk around the forum look for stuff to add to my lessons with the hope of also helping others get started. This is why I usually take the time to cleanup my code and add comments before posting it here.

    As a former professional programmer I love the SB for the speed that I can crunch out a program, the challenge of getting things to work in a limited environment, and the fun of sharing and collaborating with others. My little app above is an example of all three of those things.

    I would love to see a 1.1 version of SB for bug fixes, but I don't want to see it expanded much. Sure, I want to see sub routine parameters added, the shapes object updated with a collision event, the addition of a peer to peer network object, and a MetroWindow object; but I also want it to stay a small environment. There will always be Java, C++ and the like. Small Basic is brilliant in its simplicity and friendly environment. If adding any thing from my wish list detracts from that... than I would rather do without.

    :-)

    Wednesday, May 28, 2014 12:06 PM
  • I agree with you sir. That's not true for the extension of the language though :)

    I think that even if the language were to get expanded, it would still be pretty simple.

    I don't know any "C" language but I tried to learn "C++" and I stopped at the 7th tutorial.

    That didn't happen with "Small Basic" though. I mean, you know what you type because the

    language is the same with the one that we communicate. So here I am today :) I didn't give this one up.

    My point is that I would love to see "Microsoft Small Basic" extended to it's full and you know what? :)

    I think it would have been very successful! You know why? Well, because it would be really simple and

    really powerful. But to be honest, I don't think "Small basic" is ever going to be a complete programming

    language.  Can you imagine it though? :) that would have been really amazing and I would be so happy ^_^

    Wednesday, May 28, 2014 12:51 PM
  • Them be fight'in words!  :-)

    It would be a lot of fun to have a full function compiler under the SmallBasic banner. Having been programming since the early 80's I also know the mess that would make. Terrible and slow paid for products would be sold that were built in SB, and when the clients for said programs started to complain it would bring unsavory types around who would demand even more changes. I've seen this feature creep destroy every version of BASIC that has come along.

    Nope. Keep Small Basic small.

    And at the rate you are going Athasak you will out grow SB yourself in the near future. When you get to that point visit http://www.codecademy.com and take the Python lessons. Python is nearly as friendly as SmallBasic as a language (though it is lacking a pretty IDE) and can accomplish a lot more. It is also the preferred language of the Makers Movement.  When you out grown Python you will find that Java and C++ aren't so scary any more.

    Wednesday, May 28, 2014 1:07 PM
  • Okay :)

    I take back everything I said because you sir convinced me so hard! :D

    I will learn python as you told me after SB. But I will have to wait until the end of the final college exams :( (7/7/14).

    But I suppose it's not too far away!!! ^_^

    Wednesday, May 28, 2014 1:27 PM
  • Community Challenge suggestion:

    1. Write some code that works out how to centre a Window between the top and bottom of the screen.
    2. Make a "flash screen" with or without using an extension. Centre it in the screen. (You can search the forum for how to do this)
    Thursday, May 29, 2014 8:49 AM
  • An idea for a future challenge of the month:

    Click and drag an image.

    A little sample here:

    Import ID: JXW401

    NOTE: This program doesn't work online.

    Instructions:

    1) Right-Click to bring up the menu (or click the bar to the left of the screen).

    2) Click and Hold an icon and then Drag the cursor were you want it.

    3) Press "Esc" to hide the images.

    Hint:

    Try to match all the images, you will get an awesome wallpaper :)


    • Edited by Athasak Thursday, May 29, 2014 11:58 AM Mistake :)
    Thursday, May 29, 2014 11:54 AM
  • my game is coming soon!

    a little bit more detail!

    maybe you try it:NXR647

    please import it and move right first!

    Thursday, May 29, 2014 6:03 PM
  • Okay. I finished my sidescroller game. Here it is:

    http://www.mediafire.com/download/4yswprgqqambe94/SideScroller.zip

    Aaaand Some pictures:


    It is written: "'As surely as I live,' says the Lord, 'every knee will bow before me; every tongue will acknowledge God.'" Romans 14:11

    Friday, May 30, 2014 5:21 PM
  • One last time for SBJump.  :-)

    ImportCode: BCL208-4

    Spent a lot of time (too much time) polishing the game. The credit crawl now includes a leader board and a sub system that lets you enter your initials. You can restart the game by pressing enter. The opening title crawl now bounces down the screen. And the scoring system was reworked with more realistic scores. Can anyone beat my high score?

    Enjoy!

    Friday, May 30, 2014 6:42 PM
  • I like your game!!

    Did you see the code to my original one? Every platform had its own "If Then" statement :D

    What do you think of my sidescroller game? (Above)


    It is written: "'As surely as I live,' says the Lord, 'every knee will bow before me; every tongue will acknowledge God.'" Romans 14:11


    Sunday, June 01, 2014 3:22 PM
  • Hey Zock

    Sidescroller graphics and game play are v good. (although in the top pic I couldn't get the elevator to go down far enough).

    Really good code sample that game!

    I reckon if you revisited the platform game you'd probably do it in less than 125 loc.

    ---------------------------------------------------------

    I had a go at it and applied a stack of lessons I learnt from my big blow out flappy bird program.  The 1st time I used a reconfig sub routine. 

    GTK287-3  just the bones, will add a story line and user keys later.

    Sunday, June 01, 2014 7:34 PM
  • Zock, Your side scroller was very cool. I managed to get to the last round without a problem. I particularly liked the way the buzz saws tossed the player across the screen

    One suggestion: set up a PhotoBucket account and post images there. That way you could link to the images across the internet rather than including them in a zip file. You can then distribute the game via the import code.

    A major effort. Well done.  :-)

    Monday, June 02, 2014 3:42 PM
  • Thanks! That's a very good idea!

    @ Jibba jabba. What do mean here: "although in the top pic I couldn't get the elevator to go down far enough"

    Is it an error in the game?


    It is written: "'As surely as I live,' says the Lord, 'every knee will bow before me; every tongue will acknowledge God.'" Romans 14:11

    Monday, June 02, 2014 10:33 PM
  • Yeah it looks like it. I couldn't get past level 3:

    What you think or is it just me?


    Monday, June 02, 2014 11:11 PM
  • My mistake.

    I just worked it out.  Good game. Perfect.


    Monday, June 02, 2014 11:26 PM
  • Cool!

    :D


    It is written: "'As surely as I live,' says the Lord, 'every knee will bow before me; every tongue will acknowledge God.'" Romans 14:11

    Tuesday, June 03, 2014 2:43 AM
  • Hey guys, If any of you would like to make a level, Thad be great!

    It is written: "'As surely as I live,' says the Lord, 'every knee will bow before me; every tongue will acknowledge God.'" Romans 14:11

    Tuesday, June 03, 2014 2:43 AM
  • One more time for SBJump...

    This last update (yea, sure) now gives your position in an infinite leader board.

    importCode: BCL208-6

    Friday, June 06, 2014 6:57 PM