Vai al contenuto

Week 9

Easy Challenge Discussione

For the absolute beginner to programming

Write a Text Window program that asks the user for a width and height.
The program will then draw a rectangle with these dimensions using asterisks (*)


What is the width? 10
What is the height? 5
Here is your rectangle:


Intermediate Challenge

For people with some programming knowledge

Write a program that allows you to move a graphic around the screen (up, down, left and right) by using the arrow keys.
The graphic should always face the direction that it is moving.
When the space bar is pressed the graphic should shoot a bullet in the direction that it is facing.

Advanced Challenge Discussione

You are doing very well if you can do this!

Write a program to draw the Sierpinski Triangle fractal shown below.
There are various algorithms that can be used.
See for more information and possible algorithms.

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.