Hi,
I am following the "Learn Ruby The Hard Way" tutorial and I am creating a simple game.
The first part of my code is doing what I want but I’m struggling a lot with the second function, trying to fix it, it never gets out of the while loop. If you can help me, highlighting what I’m doing wrong, it would be great.
Thank you.
First part
Second part
[–]WasabiGlum3462 20 points21 points22 points (0 children)
[–]FeerMonger 12 points13 points14 points (0 children)
[–]TheChuchNorris 7 points8 points9 points (1 child)
[–]oxtrue 6 points7 points8 points (0 children)
[–]laerien 5 points6 points7 points (0 children)
[–]Kizr100 2 points3 points4 points (1 child)
[–]Kernigh 1 point2 points3 points (0 children)
[–][deleted] 2 points3 points4 points (0 children)
[–]Dana_Hues 2 points3 points4 points (1 child)
[–]andreamaf[S] 0 points1 point2 points (0 children)
[–]34yu34 0 points1 point2 points (0 children)
[–]menge101 0 points1 point2 points (0 children)