Arcade Türü Oyun Programlamayı ve Bilgisayar Bilimleri Öğrenin

Arcade Türü Oyun Programlamayı
ve Bilgisayar Bilimleri Öğrenin

Lab 5: Create-a-Picture

5.1 Description

fig

Your assignment: Draw a pretty picture. The goal of this lab is to get practice using functions, using for loops, and introduce computer graphics.

To get full credit:

For a template program to modify, look at the following example programs:
ProgramArcadeGames.com/python_examples/f.php?file=pygame_base_template.py
ProgramArcadeGames.com/python_examples/f.php?file=simple_graphics_demo.py

See Chapter 5 for an explanation of the template. For official documentation on the draw module:
http://www.pygame.org/docs/ref/draw.html

To select new colors, either use
http://www.colorpicker.com/
or open up the Windows Paint program and click on “Edit Colors.” Copy the values for Red, Green, and Blue. Do not worry about colors for hue, Saturation, or Brilliance.

Please use comments and blank lines to make it easy to follow your program. If you have 5 lines that draw a robot, group them together with blank lines above and below. Then add a comment at the top telling the reader what you are drawing.

lab_5_fig_1
lab_5_fig_2
lab_5_fig_3
lab_5_fig_4
lab_5_fig_5

You are not logged in. Log in here and track your progress.