C
Chris Bailey
I am trying to implement a simple frontend for a text adventure that
I'm putting together for ruby practice. My idea was to use case - when
to validate player input and to progress through a menu system,
character creation and the loading of character files. The code runs
cleanly for me but effectively does absolutely nothing. I've exhausted
about every idea I've had for a nice clean format for handling this and
I've decided to ask someone that knows what they are doing. I've
attached the source file in question and I would greatly appreciate it
if someone could have a look and offer me some advice on what I'm doing
wrong or how to better design said system. All feedback is welcome,
Thank you.
Attachments:
http://www.ruby-forum.com/attachment/2623/startup.rb
I'm putting together for ruby practice. My idea was to use case - when
to validate player input and to progress through a menu system,
character creation and the loading of character files. The code runs
cleanly for me but effectively does absolutely nothing. I've exhausted
about every idea I've had for a nice clean format for handling this and
I've decided to ask someone that knows what they are doing. I've
attached the source file in question and I would greatly appreciate it
if someone could have a look and offer me some advice on what I'm doing
wrong or how to better design said system. All feedback is welcome,
Thank you.
Attachments:
http://www.ruby-forum.com/attachment/2623/startup.rb