HomeCoursesLearning to Program in Ruby: By Example

Beginner

3h

Learning to Program in Ruby: By Example
Save

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.
Join 2.6 million developers at
Overview
Content
Reviews
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.
Programming is a way to teach a computer how to do something the way the programmer thinks it should be done. Put another way, p...Show More

WHAT YOU'LL LEARN

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
Hands-on experience on building a fully functional hangman game using Ruby

Show more

Content

1.

Before We Begin

1 Lessons

Get familiar with programming basics in Ruby through a practical hangman game project.

2.

Getting Started

3 Lessons

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

5.

Declaring Results and Improving Presentation

8 Lessons

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

6.

Generalizing Our Implementation

6 Lessons

See how it works to handle repeated letters, split strings, choose words, and guess numbers in Ruby.

7.

Wrap Up

1 Lessons

Build on key Ruby programming lessons, game creation, testing, and community feedback.
Certificate of Completion
Showcase your accomplishment by sharing your certificate of completion.

Course Author:

Developed by MAANG Engineers
Every Educative resource is designed by our in-house team of ex-MAANG software engineers and PhD computer science educators — subject matter experts who’ve shipped production code at scale and taught the theory behind it. The goal is to get you hands-on with the skills you need to stay ahead in today's constantly evolving tech landscape. No videos, no fluff — just interactive, project-based learning with personalized feedback that adapts to your goals and experience.

Trusted by 2.6 million developers working at companies

Hands-on Learning Powered by AI

See how Educative uses AI to make your learning more immersive than ever before.

Instant Code Feedback

Evaluate and debug your code with the click of a button. Get real-time feedback on test cases, including time and space complexity of your solutions.

AI-Powered Mock Interviews

Adaptive Learning

Explain with AI

AI Code Mentor

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