Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Test your Dev C++ with Allegro as we did in class. Write a program to draw a house (we did this in class together). 1.

Test your Dev C++ with Allegro as we did in class. Write a program to draw a house (we did this in class together). 1. Modify the code to design a function called param_house(width, height, roof_height, door_height, door_width, color ); but with more parameters to generate a variety of houses. 2. Using random number generators, create houses of varying characteristics to create a whole town. Make small distant houses. Vary the colors of the houses by using the random number generator for colors. Make street-like patterns. See any problems? Have any solutions? Insight into problems may be more useful than immediate solutions. 3. Complete at home as described below.Homework - Project 3: Please answer the below questions (hand-written) or complete the activities (such as code-run-debug programs (include source & run-output)). To summarize: 1. Add streets. Put no houses in the streets but on the blocks. 2. Have a horizon (blue). Draw distant houses first. Houses in front occlude houses behind (a 3D visual cue). 3. Draw the town using the on the street view but 5-6 feet tall view (as we do in class). 4. Even add a street lamp (use functions) or a tree where tree = ((triangle-fills & rectangle) for evergreen or (circlefills & rectangle) for deciduous).

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Managing Your Information How To Design And Create A Textual Database On Your Microcomputer

Authors: Tenopir, Carol, Lundeen, Gerald

1st Edition

1555700233, 9781555700232

More Books

Students also viewed these Databases questions

Question

3. Would you say that effective teamwork saved their lives?

Answered: 1 week ago