Whenever you're ready, walk me through how you'd approach this.
Describe the design of the code structure for a game like Pac-Man, including maps, characters, and actions, focusing on Medallia's frontend challenges.