Vai al contenuto

Challenge 2013-09

Curriculum Challenge 2.3

  1. Draw a face using ellipses.
  2. Animate the face to move on the screen.
  3. Make a collage picture using all of the shapes (line, rectangle, ellipse, image, text and triangle) added at random positions, with random opacity, color, rotation and zoom.
    Consider using the Timer to create the shapes.
  4. Use the pen width and colour to create a gray car wheel with a black tire.
  5. Make an animated scrolling text program.
    If you want a harder challenge, move the text in a curve.

Basic Challenges

  1. Write a program to calculate triangular numbers (1,3,6,10…)
  2. Write a program to read data in from the GraphicsWindow.
    You should have a TextBox and Button to get the entry.
    Save the entered data in an array which you can save to a file or output to a multi-line textbox.
  3. Write a program to read some text and replace all capital letters with a * character.
  4. Write a program to convert currencies, graphical or text based.
    Perhaps use a file to store current exchange rates.

Physics Challenge

Make a pendulum that swings as accurately as possible.

Game Challenge

Write a Atari missile command game.

Stack Challenge

Write a simple TextWindow based calculator using the stack using the ideas below.

Add (push) input to a stack.

If the stack has 3 entries then

  1. Get (pop) the 3 entries.
  2. Assume the 1st and 3rd are numbers and the 2nd is an operator (+ – * /).
  3. Do the sum and write some output.
  4. Put the result on the stack (push) and wait for more entry.

You could add some error checking for step 2.

 Community Suggestion 1

8 Bit Pony & Jibba Jabba

Create a basic webpage with the shapes commands.

  1.     Create a form that allows users to post feedback on the website.
  2.     Create a log of hits on the site and log what they clicked on, then generate a summary of activity
  3.     Create an online database of member details, a mini address book. (arrays practice)
  4.     Create an online mini diary/journal that signed up visitors can use (secure w/password)
  5.     Write the diary entries to file and maybe create a lookup form

Community Suggestion 2

By Nonki

  1. Make a subroutine to write text with format such as “#,##0.0”.
    This subroutine has two parameters a format (i.e. “##” ) and a number (i.e. 9).
    And it write a formatted number (i.e. ” 9″) to TextWindow screen.
  2. Make a GUI for a cue of billiard.
    You may use mouse click, mouse drag or something else.

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.