Create Task
Create your own project for the College Board

PROJECT STRUCTURE

Your program has three major requirements.  Think carefully about these as you choose your program and implement your code.  In this section, we'll use the example of a Balloon Pop Game to demonstrate how we meet the Create Task requirements.

(1) Input and Output

Example

(2) List

Example

(3) The Special Method

Example

void balloonPop(int x, int y) // parameter
{
    for(int i = 0; i < balloons.size(); i++)    // iteration
    {
        Balloon b = balloons.get(i);

        if(dist(x, y, b.x, b.y) < b.radius) // selection
        {
            balloons.remove(i); // sequencing
            score++;
        }
    }
}

DIGITAL PORTFOLIO

Your Submission To Digital Portfolio


Draft vs. Final

DIGITAL PORTFOLIO
Collegeboard Guide

CODE

Upload a PDF of your Code

VIDEO

Upload a Video  of your Code

PERSONAL PROJECT REFERENCE

NO COMMENTS IN YOUR PERSONAL PROJECT REFERENCE
This will result in a zero on your written response section

Snip Tool

1.1 - Procedure Implementation

Example
void balloonPop(int x, int y)
{
    for(int i = 0; i < balloons.size(); i++)  
    {
        Balloon b = balloons.get(i);

        if(dist(x, y, b.x, b.y) < b.radius)
        {
            balloons.remove(i);
            score++;
        }
    }
}

1.2 - Calling The Procedure

Example
void mousePressed()
{
     balloonPop(mouseX, mouseY);
}

2.1 - Storing Elements in List

Example
void spawnBalloons()
{
    if(time % 60 == 0)
    {
        balloons.add(new Balloon());
    }
}

2.2 - Using Elements In The List

Example
void draw()
{
    for(int i = 0; i < balloons.size; i++)
    {
ballons.render();
    }
}