InterviewDB Question · Los Angeles

Video Game OOD: Design a Turn-Based RPG Battle System

Question Details

Problem Design the core class structure for a turn-based RPG battle system. Characters take turns attacking, using abilities, or defending. Each ability has a cooldown. A character is defeated when HP drops to 0. Follow-ups How would you implement a status effect system (poison, stun) cleanly without modifying the Character class? How do you ensure ability cooldowns are tracked correctly across multi-character teams? How would you serialize and restore battle state for a save/load feature? Exten…

Full Details

🔒

Unlock all Zoox questions

Full insider details, leaked discussions, and candidate experiences.

Get full access — $100 a year, unlimited access

About This Question

This is a reported interview question from a zoox interview during the phone round.

It covers the following topics: Coding, Ood, Phone .