RubyWarrior - Bloc
bloc.io
RubyWarrior - Bloc
1–10 of 70 posts
Re: RubyWarrior - Bloc
#2Discussion from yesterday: https://news.ycombinator.com/item?id=6110382
Re: RubyWarrior - Bloc
#3Akkk... sound... must... turn... off!!!
Ok default sound way too loud, and at least on Safari the little speaker icon in the top left doesn't seem to do anything.
Re: RubyWarrior - Bloc
#4Very cool! Proud to see that it's made with ImpactJS[1] (my game engine :))
Re: RubyWarrior - Bloc
#5This is awesome, glad to see I can put my ruby skills to good use playing a game!
Re: RubyWarrior - Bloc
#6How do you tell the character to stop on a space when walking? That monster keeps killing me.
Re: RubyWarrior - Bloc
#7I really like how this manages to introduce some object-oriented principles stealthily while mostly focusing on linear logic. Great job!
Re: RubyWarrior - Bloc
#8How do you tell the character to stop on a space when walking? That monster keeps killing me.
if warrior.feel.enemy?
warrior.attack!
else
warrior.walk!
endRe: RubyWarrior - Bloc
#9Ok, that's kind of fun :).
Re: RubyWarrior - Bloc
#10This is VERY, VERY awesome.
As a web-rubyist, this forces me to think in a different way than I normally would.
Thank you for making this.