Exercise 45. You Make a Game

Image

You need to start learning to feed yourself. Hopefully as you have worked through this book, you have learned that all the information you need is on the Internet—you just have to go search for it. The only thing you have been missing are the right words and what to look for when you search. Now you should have a sense of it, so it’s about time you struggled through a big project and tried to get it working.

Here are your requirements:

1. Make a different game from the one I made.

2. Use more than one file, and use require to use them. Make sure you know what that is.

3. Use one class per room and give the classes ...

Get Learn Ruby the Hard Way: A Simple and Idiomatic Introduction to the Imaginative World of Computational Thinking with Code, Third Edition, Video Enhanced Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.