Chapter 14. The Stack, the Heap, and the Garbage Collector
In this chapter, we will make a good start with the next project, an authentic looking, clone of the classic Snake game.
It is also the time that we understood a little better what is going on underneath the Android hood. We constantly refer to 'references' but what exactly is a reference and how does it affect how we build games?
Managing memory with the Stack, the Heap, and the Garbage Collector
Introduction to the Snake Game
Getting started with the Snake game project
Let's start with the theory part.