HomeCoursesLearning to Program in Ruby: By Example

Beginner

3h

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.
Join 2.7 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 lesson is designed by our in-house team of ex-MAANG software engineers and PhD computer science educators, and developed in consultation with developers and data scientists working at Meta, Google, and more. Our mission is to get you hands-on with the necessary skills to stay ahead in a constantly changing industry. No video, no fluff. Just interactive, project-based learning with personalized feedback that adapts to your goals and experience.

Trusted by 2.7 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.

AI Prompt

Build prompt engineering skills. Practice implementing AI-informed solutions.

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.

Explain with AI

Select any text within any Educative course, and get an instant explanation — without ever leaving your browser.

AI Code Mentor

AI Code Mentor helps you quickly identify errors in your code, learn from your mistakes, and nudge you in the right direction — just like a 1:1 tutor!

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