0
Why my codes don't work?
It's strange, I tried to make a little RPG in Java, and even thought it doesn't have errors it doesn't work. Then I tried to code the same game, but in Ruby, this time too with no errors, but still it doesn't work. Is it a problem of the playground or am I mistaking something? Game in Java: https://code.sololearn.com/cCrPZB4yh319/#java Game in Ruby: https://code.sololearn.com/c4iU4CdGsW6Z/#rb
3 Answers
+ 1
In Sololearn you have to write every input in advance, so RPGs do not really work here :/
I also wanted to write one, but it's not possible to play due to this "first all inputs" in Sololearn.
Only works for the web languages for some reason
+ 1
@Robin Ah, thanks, now the Java code seems to work and I can fix it.
About Ruby, well I'm still learning so I guess I can try to fix some of the errors you listed.
0
Yes, I noticed that, but at least it should work, even if you can't really play.