Sign InNuggetsCoursesCodePadCheatsheet

Game Design with Objects

Object Oriented Programming (OOP) is a programming style helps to organize code so that it can be easily modified and maintained. It also helps create reusable code by writing the code once and then reuse it, avoiding repeated code.

OOP helps organize code using objects, which hold information about state and behavior:

  • States: are properties or data of an object. For example, a person's name or a car's color.
  • Behaviors: are actions or behaviors the object may perform. For example, a person reads or a car runs.

When implementing complex software applications, such as video games, it is best practice to first design, then coding. We will work on a shooter game to see how to use objects to make your code more organized.

© CS Wonders·Home·About·Contact·Classes·Gallery·Glossary·Fun Facts