Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

A "Choose Your Own Adventure" styled game I wrote to practice using if/else statements, user input, hashes, and methods in Ruby

NotificationsYou must be signed in to change notification settings

markertmer/CYOA_Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Spider is a "choose your own adventure"-styled game that I wrote as a way to apply what I have learned to do in Ruby so far.

Run thespider.rb file using Ruby in your command line terminal. Alternately, you can visitthis Replit to run the program in your web browser.

To play the game, simply read the text that appears and enter your choices when prompted with questions about where to go and what to do.

Helpful Hints

  • Some outcomes are better than others. Try playing through the game several times, making different choices along the way. Even the name you enter can affect your game!
  • The most positive outcomes occur when you are able to face the spider with an item that aligns with your chosen objective of catch, kill, or avoid.

How's my Coding?

I have annotated thespider.rb file to explain each part of the code I wrote. Most of it I figured out through trial and error. I would not be surprised if there are easier ways to accomplish certain things in the program. If so, I would love to hear your suggestions!

Or if you run into any bugs or errors. Any and all feedback is appreciated!

Also feel free to fork this to change it around and maybe make your own game from it. Have fun!

Thanks for checking this out!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

About

A "Choose Your Own Adventure" styled game I wrote to practice using if/else statements, user input, hashes, and methods in Ruby

Topics

Resources

Stars

Watchers

Forks

Languages


[8]ページ先頭

©2009-2025 Movatter.jp