Architecture of a simple game