Learning to Program in Ruby: By Example

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.

Beginner

35 Lessons

3h

Certificate of Completion

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.

AI-POWERED

Explanations

AI-POWERED

Explanations

This course includes

40 Playgrounds
13 Quizzes

This course includes

40 Playgrounds
13 Quizzes

Course Overview

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 funct...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

What You'll Learn

Hands-on experience on building a fully functional hangman game using Ruby

Show more

Course Content

1.

Before We Begin

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

Getting Started

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

Declaring Results and Improving Presentation

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 Lesson

Build on key Ruby programming lessons, game creation, testing, and community feedback.

Course Author

Trusted by 1.4 million developers working at companies

Anthony Walker

@_webarchitect_

Evan Dunbar

ML Engineer

Carlos Matias La Borde

Software Developer

Souvik Kundu

Front-end Developer

Vinay Krishnaiah

Software Developer

Eric Downs

Musician/Entrepeneur

Kenan Eyvazov

DevOps Engineer

Souvik Kundu

Front-end Developer

Eric Downs

Musician/Entrepeneur

Anthony Walker

@_webarchitect_

Evan Dunbar

ML Engineer

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

FOR TEAMS

Interested in this course for your business or team?

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