Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Rust Lang Course 2021 - Guessing Game

Jeremy Chone via YouTube

Overview

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This beginner course introduces Rust by building a command-line number-guessing game. Learners practice terminal input, string parsing, modules, variable shadowing, control flow, and random number generation.

Syllabus

- Intro & Setup
- The Plan
- Variable Secret
- Number Types
- Mutability recap
- Ask the user
- First intro to module std::io
- Rust naming conventions
- Read user input io:stdin.read_line&mut guess
- Break & Understand
- Parse string to number
- Variable Shadowing
- If / Else - You Win, You Loose
- Loop
- Match
- Random with rand
- Run it all
- Conclusion and next episode

Taught by

Jeremy Chone

Reviews

Start your review of Rust Lang Course 2021 - Guessing Game

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.