Session expiration Your session is going to expireClick here to extend

Budget (€) :

Small project <800

Posted on

3/12/13 1:14 PM

This project has expired

Why don't you register anyway? We are sure that you will find many similar projects out of the thousands waiting for you!

Post similar project now


Challenge 1 You are required to produce an interactive program which will allow the user to draw on the screen. It should meet the following requirements:

  1. The user should be able to use the WASD keys to move the turtle up, left, down and right.
  2. On pressing the ‘k’ key, the user should be able to enter one or more custom colours (using RGB values), up to a maximum of 10. The red, green and blue values for each colour should be stored in separate arrays.
  3. Pressing the ‘c’ key should bring up a text menu allowing the user to select one of the custom colours.
  4. Pressing ‘h’ should bring up a help menu, explaining how to use the program.
  5. Pressing ‘p’ should lift/lower the pen
  6. Pressing the space bar should clear anything drawn by the turtle
  7. All text should be cleared once a menu is no longer in use (turtle drawings should remain)
  8. Pressing ‘x’ should exit the program
  9. Optional extra functionality may be included, for example:
    1. Inclusion of circles and other shapes, inserted at the current turtle position
    2. A ‘fractal drawing mode’ offering different fractal types, with its own menu
    3. Some sort of turtle ‘game’ mode, where the turtle must be steered around certain points on the screen successfully?