I made a text-based RPG with Java; maybe I can help you with that here.