Ruby Wizardry: An Introduction to Programming for Kids

By Eric Weinstein

The Ruby programming language is ideal for novices: effortless to benefit, strong, and enjoyable to take advantage of! yet would it be extra enjoyable when you have been studying with the aid of a few wizards and dragons?

Ruby Wizardry is a playful, illustrated story that may train you the way to application in Ruby through taking you on a fantastical trip. As you stick to the adventures of younger heroes Ruben and Scarlet, you will research actual programming talents, like how to:

  • Use basic techniques like variables, symbols, arrays, and strings
  • Work with Ruby hashes to create a programmable breakfast menu
  • Control application movement with loops and conditionals to aid the Royal Plumber
  • Test your wild and loopy rules in IRB and keep your courses as scripts
  • Create a category of mini-wizards, each one with their very own superpower!
  • Organize and reuse your code with tools and lists
  • Write your individual notable interactive tales utilizing Ruby

Along the best way, you are going to meet colourful characters from round the country, just like the hacker Queen, the Off-White Knight, and Wherefore the minstrel. Ruby Wizardry can have you (or your little wizard) addicted to programming in no time.

For a while 10+ (and their parents!)

Show description

Preview of Ruby Wizardry: An Introduction to Programming for Kids PDF

Similar Children books

An Eagle in the Snow

The strong new novel from the grasp storyteller - encouraged by means of the genuine tale of 1 guy who may have stopped international warfare II. 1940. The teach is below assaults from German combatants. within the darkness, sheltering in a railway tunnel, the stranger within the carriage with Barney and his mom tells them a narrative to go the time.

The Witch-Hunt Narrative: Politics, Psychology, and the Sexual Abuse of Children

Within the Nineteen Eighties, a sequence of kid intercourse abuse instances rocked the U.S.. the main recognized case was once the 1984 McMartin preschool case, yet there have been a few others to boot. through the latter a part of the last decade, the idea was once common that kid intercourse abuse had turn into a significant challenge in the United States.

Princess and the Popstar Little Golden Book (Barbie)

Children ages 2-5 will love this intriguing full-color Little Golden publication retelling of the recent Barbie fall 2012 direct-to-DVD motion picture.

The Dark (Bccb Blue Ribbon Picture Book Awards (Awards))

Laszlo is frightened of the darkish. The darkish lives within the comparable apartment as Laszlo. often, notwithstanding, the darkish remains within the basement and does not come into Lazslo's room. yet one evening, it does. this is often the tale of ways Laszlo stops being fearful of the darkish. With emotional perception and poetic economic system, award-winning abilities group as much as overcome a common youth worry.

Additional info for Ruby Wizardry: An Introduction to Programming for Kids

Show sample text content

Eight learning IRB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 utilizing a textual content Editor and the ruby Command . . . . . . . . . . . . . . . . . . . . . . . . eleven Mac . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Linux . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 home windows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 growing Your First Script . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 while to exploit IRB and while to take advantage of a textual content Editor . . . . . . . . . . . . . . . . . . . . 14 The activates utilized in This e-book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Into the glossy crimson Yonder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . sixteen 2 The King and His String 19 a quick Yarn . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 a section extra approximately Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 Ruby Operators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 A Smallish venture for You . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 you recognize This! . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 three Pipe goals 31 The Apprentice Plumber’s obstacle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 Writing and operating Ruby Scripts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 His Majesty’s Flow Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 Improving flow_rate. rb with Fancier Logical Operators . . . . . . . . . . . . . . . forty A Biggerish undertaking for You . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . forty three you recognize This! . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . forty five four Staying within the Loop forty seven Ruby on Monorails . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . forty seven whereas Loops . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 Arrays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . fifty four placing Arrays and Loops into Action . . . . . . . . . . . . . . . . . . . . . . . . . . . . . fifty six Your undertaking, if you decide to settle for It . . . . . . . . . . . . . . . . . . . . . . . fifty eight you recognize This! . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . sixty one five Array of light and Hash at the diversity sixty three significant Hank’s Hashery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . sixty three Arrays inside Arrays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . sixty six much more Array equipment! . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . sixty eight Shift! Pop! Insert! . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . sixty nine Iterating with Arrays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . seventy two Hash within the Hashery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . seventy four Rollicking levels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . seventy eight Order Up! . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . eighty one you recognize This! . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . eighty four 6 The (Chunky) Bacon to Ruby’s Hash ninety one Symbols! . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ninety one the thin on Symbols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ninety four Symbols and Hashes, Together at Last . . . . . . . . . . . . . . . . . . . . . . . . . . . . ninety seven The Mid-morning Rush . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . one hundred and one What Else are you able to Do with Symbols? . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104 you recognize This! . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . one zero five 7 The Magic of tools and Blocks 109 a style to the insanity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109 Defining your personal equipment .

Download PDF sample

Rated 4.90 of 5 – based on 17 votes