Vai al contenuto

Challenge 2014-02

Curriculum Challenges 3.2

  1. Write a program to read in a user’s name, then create an array of the letters using Shapes.AddText for each letter.
    Then animate the Text shapes in the array to reveal the name on the GraphicsWindow.
  2. Write a program using arrays to store 20 balls and move them all in some way on the GraphicsWindow.
  3. Write a program to shuffle a pack of cards and add the shuffled cards to a stack so they can be ‘popped’ or dealt.

Graphics Challenge

  1. Draw a dial (perhaps a speedometer or some other dial).
    It should be able to animate as a value is changed.
  2. Write a short turtle program (10 lines or less) to draw interesting patterns.
    Here is an example to get you started – try different mathematical combinations.
Turtle.Speed = 10
For i = 1 To 600
  Turtle.Move(10)
  Turtle.Turn(i*11)
EndFor

Text Challenges

  1. Write a program to write and read Morse Code (dots and dashes) or even use sound in some way.

Maths Challenges

  1. Write a program to solve quadratic equations, like x2 – 8x +15 = 0 has solutions x = 3 and x = 5.
  2. Extend it if possible to solve cubic and quartic equations.

Game Challenge

  1. Write a simple Snake game.

Community Suggestions

by Zock77

  1. Write a program in which the user will draw something with his mouse.
    Then, when he inputs that he is done, the program will replay in real time what the user drew.

Community Suggestions

by Nonki

  1. Make a tr (UNIX-like translate) command.
  2. Draw a Bezier or spline curve.
  3. Measure pixel width of a text in GraphicsWindow.

Lascia un commento

Il tuo indirizzo email non sarà pubblicato. I campi obbligatori sono contrassegnati *

Questo sito usa Akismet per ridurre lo spam. Scopri come i tuoi dati vengono elaborati.