Text-based zombie survival game in PHP