Marvelous
RubyWarrior - Bloc
51–60 of 70 posts
Re: RubyWarrior - Bloc
#52Earlier quoted context omitted.
If you buy it and don't like it for whatever reason, I can give you a full refund within the first month. That's easier for me to handle than a separate trial license.
I never thought about it that way. Totally stealing that idea.
Re: RubyWarrior - Bloc
#53Re: RubyWarrior - Bloc
#54Re: RubyWarrior - Bloc
#55Earlier quoted context omitted.
If you buy it and don't like it for whatever reason, I can give you a full refund within the first month. That's easier for me to handle than a separate trial license.
I never thought about it that way. Totally stealing that idea.
Re: RubyWarrior - Bloc
#56This is really great, but it would be even better if it showed where the error it's finding is located. I am getting some weird errors that I can't spot-find.
Re: RubyWarrior - Bloc
#57Re: RubyWarrior - Bloc
#58Nicely made. Some frustrations: - while, until, retry (and others?) not allowed. - not being able to see the class of something. Its more ruby style to do 'space.is_a?(Enemy)' than 'space.enemy?'. This would also help to build case statements rather than lots of ifs. - no 'print' or 'puts'. How am I supposed to know what 'look' returns when it never really tells me? - I prefer a single set of rules rather than adding…
- Obfuscating the class is intentional... you are being given a limited set of "sensors" with which to interact with the world. Those are intentional rules by which to play the game.
- The original game is plain old Ruby run in the terminal and has full access to #puts or #print
- I think the point is to increase the complexity of the api slowly for those new to ruby and or programming in general. Not to beat a dead horse, but in the original there is the notion of epic mode where you do have access to all the rules and can attempt to run the entire tower with the same code.
Re: RubyWarrior - Bloc
#59I am really disappointed that Ryan Bates is not being STRONGLY credited anywhere on this page... this is just a graphical wrapper on his original creation. https://github.com/ryanb/ruby-warrior
Re: RubyWarrior - Bloc
#60I am really disappointed that Ryan Bates is not being STRONGLY credited anywhere on this page... this is just a graphical wrapper on his original creation. https://github.com/ryanb/ruby-warrior