currently learning ruby in order to start coding on RGSS3

any suggestions for after i finish my course on ruby to get myself used to RGSS3?

I want to be able to change the battle system, add mechanics (such as crafting and new equiptment slots).

Without needing to be on here gathering scripts to do it.

Kinda got my work cut out for me i know 😛 but its been fun learning ruby so far 😀
Start small and work your way up to bigger projects and NEVER take on too much at once.

These are my two suggestions.

oh, and plan everything out before you do it.
I've moved this thread to Learning Ruby and RGSSx. Please be sure to post your threads in the correct forum next time. Thank you.
as AwesomeCool mentioned, start little and do it step by step. I start Ruby one week ago and had an idea what I want to make.

so I planned what it should look like and start to do little things step by step to achieve the big goal. 

don't want to make big things like battle system manipulation at the start, I for myself started with a little extra menu for my game, I think something like this is a good point to start...
Determine what kind of script you want to make, and then just go ahead and do it.


Want to make a battle system as your first script? Then your first script will be a battle system.


It would be more involved, but if you think about it, it's just a bunch of different components put together into one package. So while your goal is to make a battle system, you may find yourself making other things in the process.


If your goal for writing scripts is to implement some functionality, then that's probably where you would go. Saves time, gets things done.


You may need to be familiarize yourself with the existing scripts, and it would help if you were familiar with RPG Maker terminology and functionality (as that would allow you to quickly group scripts together and figure out what's what).


The terminology used in the editor and database are the same as the ones found in the scripts.
As others have said, you're going to want to start small. Too many try and make some type of battle system or other monster as their first ever script. Unless you're already a substantially established programmer, that's a bad idea.

If I were you, and you really want to be proficient in Ruby as a language instead of just a patch hacker, listen along.

Your first step is to acquire this book: http://www.amazon.com/Practical-Object-Oriented-Design-Ruby-Addison-Wesley/dp/0321721330

Read through that. That'll get you a good practical introduction to OO programming in Ruby and how to properly separate things.

Look into programming problem sites like project euler, rosalind, code katas, and code wars.

If you're really looking for problems, look into ones from Google interviews.

In fact, here's a hard one to start with: (Note that using OO in this one is a bad idea [see java implementations], functional programming however...)

# Given a wordlist: http://www-personal.umich.edu/~jlawler/wordlist# and a word: dog# # Find all anagrams of the word, such that the result is: [dog, god]# Gives you an array of all wordswordlist = Net::HTTP.get(URI('http://www-personal.umich.edu/~jlawler/wordlist')).splitThe answer: (try to solve it first or it's no fun, and yes this is a harder problem)
Spoiler
Code:
# Simple functional style# =======================my_word1 = 'dog'Net::HTTP.get(URI('http://www-personal.umich.edu/~jlawler/wordlist')).split.select { |word|  word.length     == my_word1.length &&  word.chars.sort == my_word1.chars.sort}# Functional style with closures# ==============================word_finder = -> {  # Notice that no matter how many times you call this, wordlist is still there.  # That's because the returned function below encapsulates the state around it when it's  # defined, and this includes the wordlist.  wordlist = Net::HTTP.get(URI('http://www-personal.umich.edu/~jlawler/wordlist')).split  # Now we just return the function here which takes my_word and returns the array we want  -> my_word2 {    wordlist.select { |word|      word.length     == my_word2.length &&      word.chars.sort == my_word2.chars.sort    }  }}.call # We call the first function to close over the value wordlist, and it returns a function that# we've named word finder# There are three ways to call this:# word_finder.call('dog')# word_finder.('dog')# word_finder['dog']# OO style# ========class Dictionary  def initialize    @wordlist = Net::HTTP.get(URI('http://www-personal.umich.edu/~jlawler/wordlist')).split  end  def anagrams(word)    # Fun fact, select is actually functional, and blocks are anonymous functions, so this is really a hybrid    @wordlist.select { |word|      word.length     == my_word.length &&      word.chars.sort == my_word.chars.sort    }  endend# Dictionary.new.anagrams 'dog'# OO with Caching# ===============class Dictionary2  def initialize    @wordlist = Net::HTTP.get(URI('http://www-personal.umich.edu/~jlawler/wordlist')).split    @cache    = {}  end  def anagrams(word)    # If our cache already has it, return that value instead    return @cache[word] if @cache[word]    @wordlist.select { |word|      word.length     == my_word.length &&      word.chars.sort == my_word.chars.sort    }.tap { |words| # In this case we tap into the value returned before it goes out      # Iterate over each of the words, and store keys for each word for the above      # cache call to prevent duplicate searches. This is far faster      words.each { |word| @cache[word] ||= words }    }  endend# Dictionary2.new.anagrams 'dog'
Do note that it'll take you a good amount of time to be able to swing something like that, as that actually is a Google interview question. Having said that, don't look at the code until you give it a few shots. It can be a benchmark on how much you know already.
@Shaz: my bad, I was tired and must have missed the correct forum to post in >_<... I'll be more careful about it in the future.

@everyone else: Danke shun guys 😀 i'll be sure to try small stuff and work my way up, got nothin but time anyway right? 😛 ....

Lastly, thankyou Lemur for the problems so i can practice a little.
A thing I forgot to mention.

If you take on a big project, work on small segments at a time (and get them working).

If you just do everything at once it becomes a nightmare to debug.
One thing I've been doing is looking at the script requests (ignoring battle script requests though, as I'm working up to that) and then trying to write said script. I'm unfortunately only like 1 for 6 with a success rate by doing that, but the attempts have still taught me a lot.

Original thread: https://forums.rpgmakerweb.com/threads/currently-learning-ruby-in-order-to-start-coding-on-rgss3.36148/