I started game programming, and I have a question.
How can I run an .rb (Ruby) script into Linux? Is there a thingy like you run in the Linux like: run game.rb in libs/games/rb
No I meant I have a Ruby script and it's saved on Storage/libs/games, the question is How can I run it into Linux?
@Huan Wang @Ildemar Urrieta Alright I'll try to do it :D thanks :D
Did you try to do it like in Windows ("ruby game.rb")?
What do you mean by running a ruby script into linux? It's much easier to run a ruby script in linux than in windows. You want to write script in windows then run it in linux? Ithink it's also very easy to do that. So I can't get your point.
So I think you can add /path/to/your/script to the PATH var, or use a symbolic link. The more interesting way is to build your own gem since you organize your scripts in a standard way. You just build it, install it, then you know how to use it.
Just do "ruby game.rb" in your location of the game
Python — File Handling
Question is write a c program to print prime numbers up to n and print the largest number in array.
Achievements on Sololearn
How to draw in the console?