Ruby Wizardry: An Introduction to Programming for Kids

By Eric Weinstein

The Ruby programming language is ideal for newbies: effortless to profit, robust, and enjoyable to take advantage of! yet would it not be extra enjoyable in the event you have been studying with assistance from a few wizards and dragons?

Ruby Wizardry is a playful, illustrated story that may train you the way to application in Ruby by means of taking you on a fantastical trip. As you keep on with the adventures of younger heroes Ruben and Scarlet, you will study actual programming abilities, like how to:

  • Use primary innovations like variables, symbols, arrays, and strings
  • Work with Ruby hashes to create a programmable breakfast menu
  • Control application move with loops and conditionals to assist the Royal Plumber
  • Test your wild and loopy principles in IRB and store your courses as scripts
  • Create a category of mini-wizards, every one with their very own superpower!
  • Organize and reuse your code with equipment and lists
  • Write your personal impressive interactive tales utilizing Ruby

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

For a long time 10+ (and their parents!)

Show description

Quick preview of Ruby Wizardry: An Introduction to Programming for Kids PDF

Best Children books

Dragon's Egg

It's a infrequent expertise, and simply she will be able to take care of the Inn's herd. She feeds them, gathers their eggs, and has a tendency to their accidents. yet Mella desires concerning the dragons of legend, although not often someone believes they nonetheless exist. Dragons are small livestock, no longer large fire-breathing monsters. we all know that.

Raising the Perfect Child Through Guilt and Manipulation

Well known actress and stand-up comedienne Elizabeth Beckwith supplies us the parenting consultant to finish all parenting publications: elevating the right baby via Guilt and Manipulation. A common visitor at the past due, overdue exhibit and one in every of seven comics featured within the Time journal article, “Funny: the following Generation,” Beckwith now places forth a hilarious new parenting philosophy that may surprise Dr.

Not Just a Witch

Hectate Tenbury-Smith can flip humans into animals, and create new animals out of skinny air. She’s an animal witch, and a contemporary graduate of a faculty for reliable witches. decided to make the area a greater position, Heckie befriends a boy named Daniel, and informs him of her project to do strong by means of turning undesirable humans into animals.

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

Show sample text content

315 Command no longer stumbled on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 316 No Such dossier or listing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 316 mistakes utilizing IRB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 316 Undefined neighborhood Variable or approach . . . . . . . . . . . . . . . . . . . . . . . 317 Syntax errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 317 Can’t Convert nil into String . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 317 You have been asserting . . . ? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 318 transparent the monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 318 return to a prior Command . . . . . . . . . . . . . . . . . . . . . . . . . . 319 glance It Up! . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 319 Index 321 Contents in Detail   xv Foreword decades in the past, i used to be a bit child turning out to be up on a farm in rural Pennsylvania. My place of origin is sufficiently small that my mom and dad’ farm used to be simply half of one mile down the line from my maternal grandparents’ condo, my mother’s youth domestic. in the future, while i used to be seven years previous, i used to be vacationing my grandparents. It in order that occurred that considered one of my uncles additionally dropped through on that individual day. He desired to supply my grandparents a gift: their first computing device, a Mac Plus. you notice, my uncle was once seriously keen on all types of computing shenanigans. And pcs have been nonetheless a brand new factor in these days, so now not many folks had them. My grandparents, being concerned approximately their son and his pursuits, determined it'd be a good suggestion to take a look at this entire “computer” factor. focused on all of the hubbub, my uncle known as me over to the pc and defined what it used to be. He advised me which you could do all types of items with desktops, yet that he concept i would like this one. at the monitor seemed those immortal phrases: Welcome to experience! unique improvement by way of Willie Crowther significant gains additional via Don Woods Conversion to BDS C by way of J. R. Jaeger Unix standardization by means of Jerry D. Pohl Conversion to personal home page through Matt G. S. Cox tailored for AMC. com through Rick Adams To play the sport, kind brief words into the command line lower than. should you style the be aware "look," the sport supplies an outline of your atmosphere. Typing "inventory" tells you what you are wearing. "Get" "drop" and "throw" is helping you engage with gadgets. a part of the sport is making an attempt out diverse instructions and seeing what occurs. kind "help" at any time for video game directions. do you want extra directions? no you're status on the finish of a street earlier than a small brick construction. round you is a wooded area. A small flow flows out of the construction and down a gully. what is subsequent? Then, only a blinking cursor. via typing in uncomplicated directions, i used to be capable of discover an excellent global, with an unending cave, a sneaky pirate, and a maze of twisty little passages, all alike. i used to be completely enthralled. My uncle instructed me, offhandedly, that a few humans known as programmers needed to truly train the pc understand how to play the sport. i used to be hooked. i began asking to “go see Grandma” quite a bit that my mom and dad began asserting, “You don’t are looking to see Grandma, you must play with Grandma’s computing device. ” “No, i would like to determine Grandma and play along with her computer,” I responded.

Download PDF sample

Rated 4.55 of 5 – based on 22 votes