Daring ideas are like chessmen moved forward; they may be beaten,
but they may start a winning game.
— Goethe
In this and the next episode, we’re looking a bit more into how to set up object structures, and how to get them to interact. This is one of the most fundamental concepts of object-oriented programming, so you need to get your head around this.
We discuss this here with the example of integrating our counter object into a scenario.
Concepts discussed: object interaction, object references, score counting, constructors, fields
Download: breakout-v2.zip (the scenario at the end of this episode)