We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.

This lesson's interactive features are locked, please to keep using them

Welcome to Object-Oriented Programming

Object-oriented programming (OOP) organizes data and behavior into objects to (allegedly) make code cleaner and easier to maintain.

In this course, you'll build parts of Age of Dragons, a real-time strategy game where armies of humans, orcs, and dragons fight in top-down battles.

Assignment

One of the least maintainable coding practices is using misleading function names. Look at the destroy_wall function. Based on its name, you'd assume destroy_wall destroys a single wall, but if you read the code, you'll see that it handles multiple walls!

Rename the function to destroy_walls. Then submit your answer.