PangYa game logic:
The UI is a declarative XML format, and even the physics of the game courses are configurable with files in the game assets.
However: What soundtrack plays on what course is a hardcoded method in the game with a switch-case on the course ID.