Movie Theater: a Greenfoot project

Movie Theater

Greenfoot project 11 · all projects · part of Intro to Java with Greenfoot · not graded, and not tracked as progress

A 2D array of seats, booked and released. The clearest grid there is.

Before you start: finish lesson 6.3. That is the last thing this project needs. Starting earlier is allowed and you will hit a method nobody has shown you yet.

No video for this one yet. The starter files and the method list below are all you need.

Get the starter files

Methods you will use

Every one of these appears in the build. The lesson number is where the course teaches it, so if a row looks unfamiliar you have not missed anything, you just have not got there yet.

Method Taught in What it does here
int[][] seats 6.1 a grid of seats is the clearest 2D array there is
seats[row][col] 6.2 row first, always
nested for loops 6.3 draw the whole theater
addObject(new Ticket(), col, row) 6.4 column becomes x, row becomes y
public Ticket(int row, int col) 3.9 each seat knows where it is

Not covered by the course

This project uses these, and the lessons never get to them. That is not a gap in your knowledge. Copy them from the video, or ask.

Method Why it is here
setImage(String) swapping a seat between free and booked.

Get in Touch

Whether you're a student, parent, or teacher — I'd love to hear from you.

Just want free AP CS resources?

Enter your email below and check the subscribe box — no message needed. Students get daily practice questions and study tips. Teachers get curriculum resources and teaching strategies.

Typically responds within 24 hours

Message Sent!

Thanks for reaching out. I'll get back to you within 24 hours.

🏫 Welcome, fellow educator!

I offer curriculum resources, practice materials, and study guides designed for AP CS teachers. Let me know what you're looking for — whether it's classroom materials, a guest speaker, or Teachers Pay Teachers resources.

Email

[email protected]

📚

Courses

AP CSA, CSP, & Cybersecurity

Response Time

Within 24 hours

Prefer email? Reach me directly at [email protected]