HomeCoursesLearning to Program in Ruby: By Example
AI-powered learning
Save

Learning to Program in Ruby: By Example

Gain insights into Ruby programming by building a hangman game. Learn about fundamentals, practical applications, and develop strong programming skills. No prior coding experience needed.

4.7
35 Lessons
3h
Join 2.9 million developers at
Join 2.9 million developers at
LEARNING OBJECTIVES
  • Hands-on experience on building a fully functional hangman game using Ruby
  • Familiarity with building blocks of programming, including variables, collections, and conditional statements
  • Familiarity with the key steps in problem-solving and better structuring your code

Learning Roadmap

35 Lessons13 Quizzes

2.

Getting Started

Getting Started

Look at basic Ruby programming concepts through a simple guess-the-word game.

3.

Handling Multiple Letters

Handling Multiple Letters

7 Lessons

7 Lessons

Go hands-on with Ruby routines, character counting, and user input validation techniques.

4.

Improving the Implementation

Improving the Implementation

9 Lessons

9 Lessons

Break down complex ideas to improve Ruby code organization, reuse, and functionality.

5.

Declaring Results and Improving Presentation

Declaring Results and Improving Presentation

8 Lessons

8 Lessons

Enhance game functionality and presentation by implementing win/lose conditions, loops, and visual elements.

6.

Generalizing Our Implementation

Generalizing Our Implementation

6 Lessons

6 Lessons

See how it works to handle repeated letters, split strings, choose words, and guess numbers in Ruby.
Certificate of Completion
Showcase your accomplishment by sharing your certificate of completion.
Author NameLearning to Program inRuby: By Example
Developed by MAANG Engineers
ABOUT THIS COURSE
Programming is a way to teach a computer how to do something the way the programmer thinks it should be done. Put another way, programming is the description of how to perform some processing. In this course, you'll get hands-on experience in programming using Ruby by building a hangman game along the way. In the game, a player chooses a (hidden) word while a second player tries to guess the word. You'll learn to build the hangman game incrementally, and by the end of the course, you'll have a fully functional hangman game while learning the fundamentals of programming. This is a beginner-level course and doesn’t require any prior experience in programming. The course will provide a strong foundation for the advancement of your programming skills and also pave the way for a career in programming.
ABOUT THE AUTHOR

jeanlazarou

I am a fullstack developer as we say today, but I've been for such a long time in IT development. In my early days, I learned computer science on mainframes. From assembler, to C, to C++, to Java, to Ruby, to Javascript and back to (web)assembler...

Learn more about jeanlazarou

Trusted by 2.9 million developers working at companies

These are high-quality courses. Trust me the price is worth it for the content quality. Educative came at the right time in my career. I'm understanding topics better than with any book or online video tutorial I've done. Truly made for developers. Thanks

A

Anthony Walker

@_webarchitect_

Just finished my first full #ML course: Machine learning for Software Engineers from Educative, Inc. ... Highly recommend!

E

Evan Dunbar

ML Engineer

You guys are the gold standard of crash-courses... Narrow enough that it doesn't need years of study or a full blown book to get the gist, but broad enough that an afternoon of Googling doesn't cut it.

S

Software Developer

Carlos Matias La Borde

I spend my days and nights on Educative. It is indispensable. It is such a unique and reader-friendly site

S

Souvik Kundu

Front-end Developer

Your courses are simply awesome, the depth they go into and the breadth of coverage is so good that I don't have to refer to 10 different websites looking for interview topics and content.

V

Vinay Krishnaiah

Software Developer

Built for 10x Developers

No Passive Learning
Learn by building with project-based lessons and in-browser code editor
Learn by Doing
Personalized Roadmaps
The platform adapts to your strengths & skills gaps as you go
Learn by Doing
Future-proof Your Career
Get hands-on with in-demand skills
Learn by Doing
AI Code Mentor
Write better code with AI feedback, smart debugging, and "Ask AI"
Learn by Doing
Learn by Doing
MAANG+ Interview Prep
AI Mock Interviews simulate every technical loop at top companies
Learn by Doing

Free Resources

FOR TEAMS

Interested in this course for your business or team?

Unlock this course (and 1,000+ more) for your entire org with DevPath