AI-powered learning
Save this course
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
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.
Complete more lessons to unlock your certificate
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...
Trusted by 2.9 million developers working at companies
A
Anthony Walker
@_webarchitect_
E
Evan Dunbar
ML Engineer
S
Software Developer
Carlos Matias La Borde
S
Souvik Kundu
Front-end Developer
V
Vinay Krishnaiah
Software Developer
Built for 10x Developers
No Passive Learning
Learn by building with project-based lessons and in-browser code editor


Personalized Roadmaps
The platform adapts to your strengths & skills gaps as you go


Future-proof Your Career
Get hands-on with in-demand skills


AI Code Mentor
Write better code with AI feedback, smart debugging, and "Ask AI"




MAANG+ Interview Prep
AI Mock Interviews simulate every technical loop at top companies


Free Resources