Judgment Day Emulator
Let's practice what we have learned so far about methods with a game.
Now, it’s time for us to practice and review everything we know about methods.
Judgment day
Machines have taken over the world. There is a struggle for survival. Who will survive: humanity or machines? It’s up to destiny to decide our future. Well, actually, it’s up to the random number generator. The program will show the stream of upcoming events happening in the world. It would be much more interesting if we could show these events with some graphics, but the observer’s imagination will have to suffice for now.
Note: This program can be written in a better way. However, we still only have a limited knowledge of how Ruby works, so our goal is to practice using it rather than deliver a piece of art. ...