I actually built the logic of this using Test Driven Development in Ruby. I created tests to check if the user’s guess and the actual answer matched exactly, had the same number of letters, are anagrams, etc. I created all of the tests for everything I could think of.
I wrote code to pass all of my tests but I could not do anything with the fully functioning Ruby code. I could not get information from the forms to this working code.
I dove into reading about forms but I still could make no headway. Finally I was told, Rails is supposed to make my coding easier and more fun, not more stressful.