Vai al contenuto

Challenge 2016-10

Text Challenge

  1. Write a program to format numbers 1 to 100 in a neat 10 by 10 grid in the TextWindow
  2. Modify the program to colour numbers divisible by 5 red, and numbers divisible by 7 yellow.

Colourful Spinning Top - DiscontinuedGraphics Challenge

Make an animation of a spinning top rotating and moving in the GraphicsWindow

Game Challenge

Write a noughts and crosses game to play against the computer.
Perhaps add some nice graphics and sound effects to the game

Maths Challenges

  1. Write a program to calculate the change in the correct coinage of your currency.
    Perhaps randomly set a price of something and ask the user to enter the money given and the program works out the correct change.
    For example: Item costs £2.65 and user gives £5.
    The change is: 1 £2 coin, 1 20p coin, 1 10p coin, 1 5p coin.
  2. Write a program to calculate the sum of the first 100 prime numbers.

Community Suggestion Challenges

  1. 12 bit 4096 colors (By YLed) LINK
  2. Draw a Leaf (By Nonki) LINK

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.