lots
lots copied to clipboard
A text based adventure game in ruby
Cursor keys can work via: Readline.readline('') perhaps it can be tried automatically. via a rescue. If possible, then user input is read via readline. Otherwise default to stdin.
Suggestion: add rest and sleep both can take a delay, e. g. 60 seconds and regenerate hp or something like that.
Nice effort! It would also be nice if we could specify a width such as 80 chars per line or so. Right now the lines are really long on KDE...
Can we save lines of code, name, etc? I wrote a simple gem for this kinda thing: https://rubygems.org/gems/confrb I am willing to make a PR if @rwoliver2 wants.
This pull request configures this repository to be run on Repl.it. It adds a `.replit` configuration file and a Repl.it badge to the `README`. You can read more about running...
this commit was generated automatically on repl.it