Grammar-Aware Text-BASED Game Engine