Difference: Lab2TurtleDrawing (9 vs. 10)

Revision 102018-09-26 - JimSkon

Line: 1 to 1
 
META TOPICPARENT name="IntroToCSF2018"

Lab 2 - Turtle drawing with functions

Line: 41 to 41
 9. Make function "buildNeighborhood(t,h,p) that displays 3 houses, and 5 people. Your goal is to try to make the sizes of the elements in a range that makes sense (not to big or small), and that are actually on the screen (not in some far of location). The program should also put a sun in the sky using the built-in circle function.

10. Extra credit:

Changed:
<
<
  • Pick random colors for the houses and people (5%)
  • Have the buildNeighborhood actually place the houses on the screen by where you click with the mouse. E.g. 3 clicks for the 3 houses, and 5 clicks for the 5 people. (10%) (Example here: repl.it)
>
>
  • 5% - Pick random colors for the houses and people
  • 10% Place the houses and people on the screen in random locations choosen each time you run the program (with a random number generator). IT is ok if items overlap each other.
  • 10% Have the buildNeighborhood actually place the houses on the screen by where you click with the mouse. E.g. 3 clicks for the 3 houses, and 5 clicks for the 5 people. (10%) (Example here: repl.it)
 

Grading

Turn in a Repl.it link, as well as screenshots of three runs

Changed:
<
<
RequirementsGrading CommentsPointsScore
Completion of all functional requirements 60
Code broken up in fsmall, single function unctions 10
Appropriate code formatting 5
Meaningful identifier names (variables, functions) 10
Comments at the top, and on all functions 5
Document with screen capter of picture 10
Extra credit (15 max)
Total 100


SolutionWeb.SolutionLab2
>
>
RequirementsGrading CommentsPointsScore
Completion of all functional requirements 60
Code broken up in fsmall, single function unctions 10
Appropriate code formatting 5
Meaningful identifier names (variables, functions) 10
Comments at the top, and on all functions 5
Document with screen capter of picture 10
Extra credit (25 max)
Total 100


SolutionWeb.SolutionLab2
  *
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback