Final project
For our final project, we’re going to make a derivative of the color sorter we made in the last project; however, this time, there will be a catch. Our program is going to sort not just colors but shapes as well. Therefore, the first order of business we’re going to do is lay out a list of requirements.
Requirements
For this project, we’re going to need to meet the following requirements:
- Red shapes will either be squares or rectangles:
If a shape is detected as a square or rectangle, it will go down the square line, else it will be rejected
- Green shapes will always be stars:
If a shape is a star, it will go down the star line, else it will go down the reject line
- Blue shapes will always be triangles:
If a shape is a triangle, it will go down the triangle line, else it will go down the reject line
- Any other color will be rejected.
With these requirements, we should have enough information to build our program. As with...