Ruby Game

# More exercises on Dictionary, Arrays and Functions # Lets try more of this in kind of a terminal game. # Remember the other we constructed? Lets build something new. # Similar formula though. Nothing to worry about. # Just keep in mind there are 3 ways of reading a code. # 1. Front to back # 2. Back to front # 3. Counter-clock-wise # Lets move to our game now. def prompt() print “> ” end def death() quips = [“You died. You kinda suck at this.”, “Nice job, you died…jackass.”, “Such a luser.”, “I have a small puppy … Continue reading Ruby Game