Skip to content

MelTravelz/phoenix_mythical_creature

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 

Repository files navigation

Phoenix Mythical Creature


Experience the wonders of Ancient Egypt through an engaging Ruby exercise to practice building hash data-types!
In this exercise, you will explore the mythology of the legendary Phoenix, Bennu, as he follows each pharaoh throughout multiple kingdoms: Narmer the Unifier, Khufu the Builder, and Tutankhamun the Child.





As you work through this exercise, you will gain a deeper understanding of Ruby programming and Test-Driven Development (TDD) while immersing yourself in the rich culture of one of the world's most intriguing civilizations. Inspired by the mythical_creatures collection of exercises created by the Turing School of Software & Design, this is a great way to expand your skills and learn about the ancient world!



How to Run


  1. Fork this repo and clone YOUR fork to your local computer.
    • Click the Fork button in Github, then click on Create Fork
    • Click the Copy button & ensure SSH is highlighted, then copy the code provided.
    • Move into the directory you want this directory to live: cd name_of_directory
    • Paste the code from GitHub into your Terminal command line, it should look like:
git clone [email protected]:MelTravelz/phoenix_mythical_creature.git
  1. Move into this directory by typing in the Terminal command line: cd phoenix_mythical_creature

  2. Open in VScode: code .

  3. Install the bundler gem: gem install bundler & bundle install

  4. To run your first test: rspec spec/phoenix_spec.rb

  5. Create a class for the Phoenix first. The file has already been created in the lib directory.

  6. Continue to follow the errors that your test provides until the test passes.

  7. Then, unskip the next test by removing the x before the next "it statment" (aka test).

  8. Continue until all tests pass for the phoenix_spec.rb and then continue on to the pharaoh_spec.rb.

  9. If you have questions or would like to see possible answers, you can check out the answers branch. In the Terminal command like: git checkout answers_branch

    • Please do not make any changes to these files.
    • To return to your work, in Terminal type: git checkout main

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages